Closed Bratanov closed 8 years ago
In badass-client.js we have this:
badass-client.js
socket.on('new_song', function(song) { $('#text').prepend('<p>Now plaing: ' + song + '</p>'); play(song); console.log(song); });
It should use the addMessage function instead of prepending the chat (song should be appended, not prepended and should be scrolled to bottom)
addMessage
In
badass-client.js
we have this:It should use the
addMessage
function instead of prepending the chat (song should be appended, not prepended and should be scrolled to bottom)