diff options
| author | 2019-10-01 18:12:48 +0200 | |
|---|---|---|
| committer | 2019-10-01 18:12:48 +0200 | |
| commit | ec5f7ad5542b74f9488580d1763d6ed376a63728 (patch) | |
| tree | 75ee2aec0204c9a7ae445fa56a522d8ec5c63be1 /p/scripts/main.js | |
| parent | 37b52b7361d3ac15273ca19a0b96ef74299e759e (diff) | |
Workaround for Firefox favicon glitch (#2543)
Observed in Firefox 69: the favicon is sometimes refreshed with an old
favicon that does not have the number of unread items on it. Seems to
depend on load speed.
Diffstat (limited to 'p/scripts/main.js')
| -rw-r--r-- | p/scripts/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index c51d91c8e..e414ab90e 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -1465,6 +1465,7 @@ function init_afterDOM() { init_posts(); init_nav_entries(); init_notifs_html5(); + setTimeout(faviconNbUnread, 1000); setInterval(refreshUnreads, 120000); } |
