summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/pageinfo/pageInfo.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-10 20:26:59 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-10 20:26:59 +0200
commitf858398f2f1387f95b718309c46d3a9eed30d9ae (patch)
tree2e5836c4c8d37d29b1c13d00505b9eb0c84edc7e /application/palemoon/base/content/pageinfo/pageInfo.js
parentdf185f9fbe2a2a1f8d3bbf713b5ce04c504d8bf7 (diff)
downloadUXP-f858398f2f1387f95b718309c46d3a9eed30d9ae.tar
UXP-f858398f2f1387f95b718309c46d3a9eed30d9ae.tar.gz
UXP-f858398f2f1387f95b718309c46d3a9eed30d9ae.tar.lz
UXP-f858398f2f1387f95b718309c46d3a9eed30d9ae.tar.xz
UXP-f858398f2f1387f95b718309c46d3a9eed30d9ae.zip
[PALEMOON] "Page Info" - "Permissions": Permission Manager - use URI instead of URI.host
Issue #112
Diffstat (limited to 'application/palemoon/base/content/pageinfo/pageInfo.js')
-rw-r--r--application/palemoon/base/content/pageinfo/pageInfo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/base/content/pageinfo/pageInfo.js b/application/palemoon/base/content/pageinfo/pageInfo.js
index ba93ee817..f91a607af 100644
--- a/application/palemoon/base/content/pageinfo/pageInfo.js
+++ b/application/palemoon/base/content/pageinfo/pageInfo.js
@@ -857,7 +857,7 @@ function onBlockImage()
if (checkbox.checked)
permissionManager.add(uri, "image", nsIPermissionManager.DENY_ACTION);
else
- permissionManager.remove(uri.host, "image");
+ permissionManager.remove(uri, "image");
}
function onImageSelect()