fixing image blacklist

This commit is contained in:
Martin Donnelly 2015-08-14 11:36:09 +01:00
parent 1c7446295e
commit 84eed69d03

View File

@ -27,7 +27,8 @@
var flag = false;
for (var item in blackList) {
if (source.indexOf(blackList[item])) {
var u = blackList[item];
if (source.indexOf(u)) {
flag = true;
}
}
@ -37,7 +38,7 @@
}
if (flag) {
this.hide();
this.setAttribute("style", 'display:none !important;');
}
});