Skip to content

Commit ab058ef

Browse files
committed
Update Picviewer CE+.user.js
1 parent 61b2b5e commit ab058ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24674,6 +24674,7 @@ ImgOps | https://imgops.com/#b#`;
2467424674
this.xhrLink = false;
2467524675
for (var i = 0; i < this.rules.length; i++) {
2467624676
rule = this.rules[i];
24677+
if (rule.src) continue;
2467724678
if (rule.xhr) {
2467824679
if (rule.xhr.url) {
2467924680
if (rule.xhr.url.test) {
@@ -25127,7 +25128,7 @@ ImgOps | https://imgops.com/#b#`;
2512725128
let nsrc, imgPN, imgPA, imgPE = [];
2512825129
try {
2512925130
if (matchedRule.getExtSrc) {
25130-
nsrc = matchedRule.getExtSrc(target);
25131+
nsrc = matchedRule.getExtSrc.call(target);
2513125132
}
2513225133
if (!nsrc && target.href) {
2513325134
imgPN = target;

0 commit comments

Comments
 (0)