added the same cool shit

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-05 11:54:41 +02:00
parent 011e906c47
commit 21b4b39dc2

View File

@@ -66,6 +66,7 @@ $(window).focus(function(){
function setup_chat_listener(channel)
{
document.getElementsByClassName("chat-tab")[0].innerHTML = channel;
socket.on("chat,"+channel.toLowerCase(), function(data)
{
if($("#chat-bar").position()["left"] != 0)