fixing image blacklist
This commit is contained in:
parent
1c7446295e
commit
84eed69d03
@ -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;');
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user