mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
When in private mode, all votes are reset
This commit is contained in:
@@ -95,7 +95,11 @@ var List = {
|
||||
}
|
||||
if(list_html === undefined) list_html = $("#list-song-html").html();
|
||||
full_playlist = msg;
|
||||
|
||||
if(offline){
|
||||
for(var x = 0; x < full_playlist.length; x++){
|
||||
full_playlist[x].votes = 0;
|
||||
}
|
||||
}
|
||||
List.sortList();
|
||||
$("#wrapper").empty();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user