Turn favicon red on page load if there are highlights

This commit is contained in:
Pavel Djundik 2016-05-23 20:51:07 +03:00
parent 3bdf580873
commit 080495e0d1

View File

@ -157,6 +157,10 @@ $(function() {
); );
channels.forEach(renderChannel); channels.forEach(renderChannel);
confirmExit(); confirmExit();
if (sidebar.find(".highlight").length) {
toggleFaviconNotification(true);
}
} }
if (data.token) { if (data.token) {