From 40d92aa7fb245a1c86e0117bab29e7d82335f3d1 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Fri, 3 Aug 2012 03:24:45 -0400 Subject: [PATCH] Fix typo. --- static/js/potd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/potd.js b/static/js/potd.js index 520d0cc..956ab7b 100644 --- a/static/js/potd.js +++ b/static/js/potd.js @@ -4,7 +4,7 @@ function update_screen_size() { "width": window.screen.availWidth, "height": window.screen.availHeight } - if (!cookie || cookie["width"] != data["width"] || cookie["height"] != data["height"]) { + if (!cache || cache["width"] != data["width"] || cache["height"] != data["height"]) { set_cookie("EarwigScreenCache", JSON.stringify(data), 1095); } }