Fixed where the playeroverlay doesn't show on channels without songs

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-10 16:24:04 +01:00
parent 2fa9eb763a
commit 31a661eb57
5 changed files with 13 additions and 7 deletions

View File

@@ -172,6 +172,12 @@ var Helper = {
return string.substring(0,1).toUpperCase()+string.substring(1).toLowerCase();
},
addClass: function(object, toAdd){
if(!Helper.contains($(object).attr("class").split(" "), toAdd)){
$(object).addClass(toAdd);
}
},
send_mail: function(from, message){