Fixed suggestions notifier error

This commit is contained in:
Kasper Rynning-Tønnesen
2018-04-26 13:07:48 +02:00
parent 58ccdada3b
commit 5478b6a6e2
10 changed files with 63 additions and 73 deletions

View File

@@ -178,16 +178,5 @@ var Chat = {
document.getElementById("chatchannel").scrollTop = document.getElementById("chatchannel").scrollHeight;
programscroll = false;
}
},
chat_blink: function() {
blinking = true;
document.querySelector(".chat-link").setAttribute("style", "color: grey !important;");
setTimeout(function () {
document.querySelector(".chat-link").setAttribute("style", "color: white !important;");
setTimeout(function() {
if(blinking) Chat.chat_blink();
}, 1000);
}, 1000);
}
};