Don't append the search to the hash. It won't fool the cache.

Also fuck firefox.
This commit is contained in:
Nicolas Stepien 2011-07-31 16:57:13 +02:00
parent 14c9d18510
commit 040cf69ec1
3 changed files with 4 additions and 2 deletions

View File

@ -1698,7 +1698,7 @@
if ((_ref = updater.request) != null) {
_ref.abort();
}
url = location.href + '?' + Date.now();
url = location.pathname + '?' + Date.now();
cb = updater.cb.update;
return updater.request = $.get(url, cb);
}

View File

@ -1,4 +1,6 @@
github
- mayhem:
- fix updater when there is a hash in the url
2.17.0
- mayhem:

View File

@ -1380,7 +1380,7 @@ updater =
update: ->
updater.request?.abort()
url = location.href + '?' + Date.now() # fool the cache
url = location.pathname + '?' + Date.now() # fool the cache
cb = updater.cb.update
updater.request = $.get url, cb