mirror of
https://github.com/Threnklyn/MinecraftChat.git
synced 2026-05-25 23:38:27 +02:00
Working connect/disconnect handlers and status indicator
This commit is contained in:
@@ -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'));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user