mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Merge branch 'master' of github.com:nixolas1/Zoff
This commit is contained in:
@@ -75,7 +75,7 @@ $('input[class=conf]').change(function()
|
||||
|
||||
function pass_save()
|
||||
{
|
||||
socket.emit('password', [document.getElementById("password").value, chan.toLowerCase()]);
|
||||
socket.emit('password', [document.getElementById("password").value, chan.toLowerCase(), guid]);
|
||||
}
|
||||
|
||||
function log_out(){
|
||||
|
||||
@@ -120,7 +120,7 @@ function vote(id, vote){
|
||||
}
|
||||
|
||||
function skip(){
|
||||
socket.emit('skip', [chan, guid]);
|
||||
socket.emit('skip', [chan, guid, localStorage[chan.toLowerCase()]]);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ $(document).ready(function()
|
||||
|
||||
if(localStorage[chan.toLowerCase()])
|
||||
{
|
||||
socket.emit("password", [localStorage[chan.toLowerCase()], chan.toLowerCase()]);
|
||||
socket.emit("password", [localStorage[chan.toLowerCase()], chan.toLowerCase(), guid]);
|
||||
}
|
||||
|
||||
if($("#chan").html().toLowerCase() == "jazz")
|
||||
|
||||
Reference in New Issue
Block a user