added some cool shit

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-05 11:54:24 +02:00
parent 6f3b8e4184
commit 084c049983
2 changed files with 395 additions and 0 deletions

View File

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

394
typescript Normal file

File diff suppressed because one or more lines are too long