zulip/static
Brock Whittaker f8a2f06a84 reload: Continually attempt to reload page when reloading.
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.
2017-10-11 20:38:33 -07:00
..
assets assets: Add email illustration SVGs to assets folder. 2017-08-24 11:37:24 -07:00
audio
generated Move static/third/gemoji to static/generated/emoji. 2016-12-27 20:16:23 -08:00
html frontend: Add header to static/5xx.html. 2017-07-28 17:45:23 -07:00
images components: Make checkboxes darker. 2017-10-11 13:15:44 -07:00
js reload: Continually attempt to reload page when reloading. 2017-10-11 20:38:33 -07:00
locale locale: Update translations. 2017-10-06 10:09:53 -07:00
styles streams: Change copy for stream creation suggestion. 2017-10-11 16:17:36 -07:00
swagger Delete the old zulip.com "referrals" system. 2017-07-07 14:59:18 -07:00
templates streams: Change copy for stream creation suggestion. 2017-10-11 16:17:36 -07:00
third typeahead: Fix typeahead positioning for iOS keyboard case. 2017-10-04 17:39:42 -07:00
ts Add typescript support to asset compilation. 2017-05-28 17:28:28 -07:00
.gitignore static: Clean up organization of .gitignore. 2017-09-22 15:14:43 -07:00
favicon.ico
node_modules