From 080495e0d1f555d726d4737136ea64c6b7a2d360 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Mon, 23 May 2016 20:51:07 +0300 Subject: [PATCH] Turn favicon red on page load if there are highlights --- client/js/lounge.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/js/lounge.js b/client/js/lounge.js index 3dcd54ed..34b96ec6 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -157,6 +157,10 @@ $(function() { ); channels.forEach(renderChannel); confirmExit(); + + if (sidebar.find(".highlight").length) { + toggleFaviconNotification(true); + } } if (data.token) {