This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-28 20:20:49 +01:00
parent 24dcc9d027
commit 8a2814e5a6
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -122,7 +122,7 @@ var Nochan = {
if(Nochan.blob_list[i] !== undefined){ if(Nochan.blob_list[i] !== undefined){
//$(".room-namer").css("opacity", 0); //$(".room-namer").css("opacity", 0);
var img = new Image(); var img = new Image();
img.src = "/images/thumbnails/"+id; img.src = "/images/thumbnails/"+id+".jpg";
img.onerror = function(){ // Failed to load img.onerror = function(){ // Failed to load
console.log("didn't find"); console.log("didn't find");