Imageblob only from allowed origin

This commit is contained in:
Kasper Rynning-Tønnesen
2018-04-03 16:19:11 +02:00
parent 355926ddff
commit 02667f4348
2 changed files with 10 additions and 1 deletions

View File

@@ -221,6 +221,9 @@ var Frontpage = {
$("#mega-background").css("opacity", 1);
$(".autocomplete").attr("placeholder", list[i]._id);
},500);
},
error: function() {
$(".autocomplete").attr("placeholder", list[i]._id);
}
});
};