From c1b5bdb24bd4d03044e86a0fc70271db4ddda405 Mon Sep 17 00:00:00 2001 From: James Campos Date: Sun, 24 Apr 2011 23:56:32 -0700 Subject: [PATCH] uncomment updater cache hack --- 4chan_x.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index 5d349ee7e..63b3e35b3 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -1377,7 +1377,7 @@ if ((_ref = updater.request) != null) { _ref.abort(); } - url = location.href; + url = location.href + '?' + Date.now(); cb = updater.cb.update; return updater.request = $.get(url, cb); } diff --git a/script.coffee b/script.coffee index 1ee1c363d..40339f962 100644 --- a/script.coffee +++ b/script.coffee @@ -1084,7 +1084,7 @@ updater = update: -> updater.request?.abort() - url = location.href #+ '?' + Date.now() # fool the cache + url = location.href + '?' + Date.now() # fool the cache cb = updater.cb.update updater.request = $.get url, cb