Working connect/disconnect handlers and status indicator

This commit is contained in:
AlexKvazos
2015-04-28 11:19:36 -05:00
parent 542ae1f549
commit 793fe3e162
7 changed files with 55 additions and 10 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ module.exports = function(socket) {
});
socket.on('buffer:error', function(string) {
$('#buffer').append('<span style="color:#D62D18;">[i] ' + error + '</span><br>')
$('#buffer').append('<span style="color:#D62D18;">[i] ' + string + '</span><br>')
$('#buffer').scrollTop($('#buffer').prop('scrollHeight'));
});