Revert "You ain't gonna fool a cache, by appending a search to a hash. Yo."
This reverts commit 624b4e38534be9cba9b0a116d60a29e92f3b3ca1. `location.origin` is undefined in foxfire
This commit is contained in:
parent
1c276c0fba
commit
6b7cd5afaa
@ -1698,7 +1698,7 @@
|
||||
if ((_ref = updater.request) != null) {
|
||||
_ref.abort();
|
||||
}
|
||||
url = location.origin + location.pathname + '?' + Date.now();
|
||||
url = location.href + '?' + Date.now();
|
||||
cb = updater.cb.update;
|
||||
return updater.request = $.get(url, cb);
|
||||
}
|
||||
|
||||
@ -1380,7 +1380,7 @@ updater =
|
||||
|
||||
update: ->
|
||||
updater.request?.abort()
|
||||
url = location.origin + location.pathname + '?' + Date.now() # fool the cache
|
||||
url = location.href + '?' + Date.now() # fool the cache
|
||||
cb = updater.cb.update
|
||||
updater.request = $.get url, cb
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user