Merge pull request #344 from thelounge/xpaw/pageload-favicon

Turn favicon red on page load if there are highlights
This commit is contained in:
Jérémie Astori 2016-05-23 17:18:03 -04:00
commit e206ef55ce

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) {