Small fixes, and removing unused variables

This commit is contained in:
Kasper Rynning-Tønnesen
2018-02-05 14:18:47 +01:00
parent 0c0e455336
commit 93005c895b
4 changed files with 13 additions and 45 deletions

View File

@@ -825,18 +825,7 @@ var List = {
show: function() {
if(!Helper.mobilecheck())
{
/*if(showToggle){
showToggle=false;
$("#toptitle").empty();
$("#chan").addClass("bigChan");
//$("#chan").html("zoff.me/"+encodeURI(chan));
$("#chan").html("zoff.me/"+chan.toLowerCase());
}else{
showToggle=true;
$("#toptitle").html("Zoff");
$("#chan").removeClass("bigChan");
$("#chan").html(chan);
}*/$("#channel-share-modal").modal("open");
$("#channel-share-modal").modal("open");
}
},

View File

@@ -1,7 +1,6 @@
var chan = window.chan === undefined ? $("#chan").html() : window.chan;
var w_p = true;
var hasadmin = 0;
var showToggle = true;
var list_html = $("#list-song-html").html();
var unseen = false;
var api_key = "***REMOVED***";