mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed Remove button appearing on vote after logout
This commit is contained in:
@@ -78,7 +78,7 @@ function pass_save()
|
|||||||
function log_out(){
|
function log_out(){
|
||||||
if(localStorage[chan.toLowerCase()]){
|
if(localStorage[chan.toLowerCase()]){
|
||||||
localStorage.removeItem(chan.toLowerCase())
|
localStorage.removeItem(chan.toLowerCase())
|
||||||
w_p = false;
|
w_p = true;
|
||||||
names=["vote","addsongs","longsongs","frontpage", "allvideos", "removeplay", "skip", "shuffle"];
|
names=["vote","addsongs","longsongs","frontpage", "allvideos", "removeplay", "skip", "shuffle"];
|
||||||
for (var i = 0; i < names.length; i++) {
|
for (var i = 0; i < names.length; i++) {
|
||||||
$("input[name="+names[i]+"]").attr("disabled", true);
|
$("input[name="+names[i]+"]").attr("disabled", true);
|
||||||
|
|||||||
Reference in New Issue
Block a user