mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-29 18:50:19 +02:00
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 a new issue