mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed stuttering issues on leaving and entering channel
This commit is contained in:
@@ -137,7 +137,7 @@ var Channel = {
|
||||
socket = io.connect(''+add+':8080', connection_options);
|
||||
socket.on('update_required', function(msg) {
|
||||
if(window.location.hostname == "localhost") {
|
||||
console.log(msg);
|
||||
console.error(msg);
|
||||
return;
|
||||
}
|
||||
window.location.reload(true);
|
||||
@@ -638,6 +638,7 @@ var Channel = {
|
||||
Player.player.destroy();
|
||||
} catch(error){}
|
||||
try {
|
||||
Player.soundcloud_dead = true;
|
||||
Player.soundcloud_player.kill();
|
||||
} catch(error){}
|
||||
Player.player = "";
|
||||
|
||||
Reference in New Issue
Block a user