Don't append the search to the hash. It won't fool the cache.
Also fuck firefox.
This commit is contained in:
parent
14c9d18510
commit
040cf69ec1
@ -1698,7 +1698,7 @@
|
|||||||
if ((_ref = updater.request) != null) {
|
if ((_ref = updater.request) != null) {
|
||||||
_ref.abort();
|
_ref.abort();
|
||||||
}
|
}
|
||||||
url = location.href + '?' + Date.now();
|
url = location.pathname + '?' + Date.now();
|
||||||
cb = updater.cb.update;
|
cb = updater.cb.update;
|
||||||
return updater.request = $.get(url, cb);
|
return updater.request = $.get(url, cb);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
github
|
github
|
||||||
|
- mayhem:
|
||||||
|
- fix updater when there is a hash in the url
|
||||||
|
|
||||||
2.17.0
|
2.17.0
|
||||||
- mayhem:
|
- mayhem:
|
||||||
|
|||||||
@ -1380,7 +1380,7 @@ updater =
|
|||||||
|
|
||||||
update: ->
|
update: ->
|
||||||
updater.request?.abort()
|
updater.request?.abort()
|
||||||
url = location.href + '?' + Date.now() # fool the cache
|
url = location.pathname + '?' + Date.now() # fool the cache
|
||||||
cb = updater.cb.update
|
cb = updater.cb.update
|
||||||
updater.request = $.get url, cb
|
updater.request = $.get url, cb
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user