Fixed service-worker issues

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-14 22:13:03 +01:00
parent 15532d8f9a
commit a5248f0f39
3 changed files with 10 additions and 10 deletions

View File

@@ -233,7 +233,7 @@ var Admin = {
shuffle: function() {
if(!offline) {
//var u = Crypt.crypt_pass(Crypt.get_userpass(chan.toLowerCase()), true);
if(u == undefined) u = "";
//if(u == undefined) u = "";
emit('shuffle', {channel: chan.toLowerCase()});
} else {
for(var x = 0; x < full_playlist.length; x++){