mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Never sending position-request on offline
This commit is contained in:
@@ -306,7 +306,7 @@ var Player = {
|
||||
if(document.getElementById("pause").className.split(" ").length == 2)
|
||||
$("#pause").toggleClass("hide");
|
||||
}
|
||||
if((paused && !offline) || was_stopped) {
|
||||
if((paused || was_stopped) && !offline) {
|
||||
socket.emit('pos', {channel: chan.toLowerCase(), pass: embed ? '' : Crypt.crypt_pass(Crypt.get_userpass(chan.toLowerCase()), true)});
|
||||
paused = false;
|
||||
was_stopped = false;
|
||||
|
||||
Reference in New Issue
Block a user