Fool the cache for loloprah, fix thread updater, close #30

This commit is contained in:
Nicolas Stepien 2011-12-07 23:34:52 +01:00
parent 0be30318c0
commit 94ad6a590e
3 changed files with 4 additions and 2 deletions

View File

@ -2080,7 +2080,7 @@
var cb, url, _ref;
updater.timer.textContent = 0;
if ((_ref = updater.request) != null) _ref.abort();
url = location.pathname;
url = engine !== 'presto' ? location.pathname : location.pathname + '?' + Date.now();
cb = updater.cb.update;
return updater.request = $.ajax(url, cb);
}

View File

@ -4,6 +4,7 @@ master
quotes are now inserted at the caret position in the QR
quotes also replace the text selection in the QR
open QR focused when using the `Open QR without post number inserted` keybind
fix thread updater for Opera
- aeosynth
update the captcha caching expiration date to 30mins

View File

@ -1664,7 +1664,8 @@ updater =
update: ->
updater.timer.textContent = 0
updater.request?.abort()
url = location.pathname
#Opera needs to fool its cache
url = if engine isnt 'presto' then location.pathname else location.pathname + '?' + Date.now()
cb = updater.cb.update
updater.request = $.ajax url, cb