mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-27 01:30:09 +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);
|
||||
confirmExit();
|
||||
|
||||
if (sidebar.find(".highlight").length) {
|
||||
toggleFaviconNotification(true);
|
||||
}
|
||||
}
|
||||
|
||||
if (data.token) {
|
||||
|
|
Loading…
Reference in a new issue