Fixed chat and chatlisteners

This commit is contained in:
Kasper Rynning-Tønnesen
2016-05-13 14:22:04 +02:00
parent 2a92241dd3
commit 2803611ffd
3 changed files with 3039 additions and 4 deletions

File diff suppressed because one or more lines are too long

3040
static/dist/main.min.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -84,7 +84,6 @@ var Chat = {
var in_text = document.createTextNode(data[1]); var in_text = document.createTextNode(data[1]);
$("#chatchannel li:last")[0].appendChild(in_text); $("#chatchannel li:last")[0].appendChild(in_text);
document.getElementById("chatchannel").scrollTop = document.getElementById("chatchannel").scrollHeight; document.getElementById("chatchannel").scrollTop = document.getElementById("chatchannel").scrollHeight;
socket.on("chat", Chat.channelchat);
}, },
chat_blink: function() { chat_blink: function() {