فهرست منبع

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.
Alexandre Alapetite 6 سال پیش
والد
کامیت
ec5f7ad554
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      p/scripts/main.js

+ 1 - 0
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);
 	}