Trying some more fixes for the unknown error for .id undefined

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-09 15:57:46 +01:00
parent 82e643140e
commit 9b7be4224a
3 changed files with 32 additions and 29 deletions

View File

@@ -186,7 +186,7 @@ var Frontpage = {
add_backdrop: function(list, i) {
if(i >= list.length || i >= 20) i = 0;
if(list[i] == undefined) return;
var id = list[i].id;
if(Frontpage.blob_list[i] !== undefined){
//$(".room-namer").css("opacity", 0);