mirror of https://github.com/zulip/zulip.git
f8a2f06a84
We've had a few reports of users using modern Chrome having problems where reload.is_in_progress() was true, but the browser was just sitting there, not having reloaded. This will continually attempt to reload the page periodically try and compensate for the behavior in Chrome where it appears that the tab has to be active or semi-active for `location.reload` to be respected when Chrome is trying to save power, which means that it should just continually try until the page is active again, in which case the `location.reload` func will work and reload the page. See https://developers.google.com/web/updates/2017/03/background_tabs for the Chrome featureset that we believe may be involved with this issue. Tweaked by tabbott to reload earlier and add the on-focus handler. Fixes: #6821. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
locale | ||
styles | ||
swagger | ||
templates | ||
third | ||
ts | ||
.gitignore | ||
favicon.ico | ||
node_modules |