Merge pull request #344 from thelounge/xpaw/pageload-favicon
Turn favicon red on page load if there are highlights
This commit is contained in:
commit
e206ef55ce
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user