diff --git a/php/header.php b/php/header.php index dcbb94b7..6a275c86 100755 --- a/php/header.php +++ b/php/header.php @@ -16,4 +16,4 @@ - \ No newline at end of file + diff --git a/static/js/chat.js b/static/js/chat.js index 2f9de2aa..fcc75d66 100644 --- a/static/js/chat.js +++ b/static/js/chat.js @@ -17,6 +17,7 @@ document.getElementById("chat-btn").addEventListener("click", function(){ $("#chat-btn i").css("opacity", 1); clearInterval(blink_interval); blink_interval_exists = false; + $("#favicon").attr("href", "static/images/favicon.png"); }); socket.on("chat,"+chan.toLowerCase(), function(data) @@ -26,6 +27,7 @@ socket.on("chat,"+chan.toLowerCase(), function(data) //$("#chat-btn").css("color", "grey"); if(!blink_interval_exists) { + $("#favicon").attr("href", "static/images/highlogo.png"); blink_interval_exists = true; blink_interval = setInterval(chat_blink, 2000); }