diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-04-11 00:53:50 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-04-11 00:53:50 -0400 |
commit | 5ab84e664226e5b104c23e50210ed8b7271cec0e (patch) | |
tree | 3d41e0fb05d6ca8355e9abbb171b415e0f5b7ff1 /application/palemoon/base/content/pageinfo/pageInfo.js | |
parent | 615be068c30f6a332d52663027b29f4a1a96e674 (diff) | |
parent | e341862cac8414b6a5e921a877301c6246d2d6c0 (diff) | |
download | UXP-5ab84e664226e5b104c23e50210ed8b7271cec0e.tar UXP-5ab84e664226e5b104c23e50210ed8b7271cec0e.tar.gz UXP-5ab84e664226e5b104c23e50210ed8b7271cec0e.tar.lz UXP-5ab84e664226e5b104c23e50210ed8b7271cec0e.tar.xz UXP-5ab84e664226e5b104c23e50210ed8b7271cec0e.zip |
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
Diffstat (limited to 'application/palemoon/base/content/pageinfo/pageInfo.js')
-rw-r--r-- | application/palemoon/base/content/pageinfo/pageInfo.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/palemoon/base/content/pageinfo/pageInfo.js b/application/palemoon/base/content/pageinfo/pageInfo.js index ba93ee817..83f0ddb91 100644 --- a/application/palemoon/base/content/pageinfo/pageInfo.js +++ b/application/palemoon/base/content/pageinfo/pageInfo.js @@ -359,7 +359,7 @@ function loadPageInfo() makeTabs(gDocument, gWindow); initFeedTab(); - onLoadPermission(); + onLoadPermission(gDocument.nodePrincipal); /* Call registered overlay init functions */ onLoadRegistry.forEach(function(func) { func(); }); @@ -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() |