summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/pageinfo/pageInfo.js
diff options
context:
space:
mode:
Diffstat (limited to 'application/palemoon/base/content/pageinfo/pageInfo.js')
-rw-r--r--application/palemoon/base/content/pageinfo/pageInfo.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/palemoon/base/content/pageinfo/pageInfo.js b/application/palemoon/base/content/pageinfo/pageInfo.js
index 83f0ddb91..6b02bc370 100644
--- a/application/palemoon/base/content/pageinfo/pageInfo.js
+++ b/application/palemoon/base/content/pageinfo/pageInfo.js
@@ -1112,8 +1112,9 @@ var imagePermissionObserver = {
var row = getSelectedRow(imageTree);
var item = gImageView.data[row][COL_IMAGE_NODE];
var url = gImageView.data[row][COL_IMAGE_ADDRESS];
- if (makeURI(url).host == permission.host)
+ if (permission.matchesURI(makeURI(url), true)) {
makeBlockImage(url);
+ }
}
}
}