summaryrefslogtreecommitdiff
path: root/src/bg/Settings.js
diff options
context:
space:
mode:
authorhackademix2018-08-18 03:16:54 +0200
committerhackademix2018-08-18 03:20:33 +0200
commit2f9c5299afe0d612deff7f89c948bb44332f2abf (patch)
tree343fe4435bef995b4029656563ce6194829ea641 /src/bg/Settings.js
parente959accb70ea00f99fa611c9f1af40e1be5bde92 (diff)
downloadnoscript-2f9c5299afe0d612deff7f89c948bb44332f2abf.tar.gz
noscript-2f9c5299afe0d612deff7f89c948bb44332f2abf.tar.xz
noscript-2f9c5299afe0d612deff7f89c948bb44332f2abf.zip
Removed all references to RequestUtil.js and dependancies.
Diffstat (limited to 'src/bg/Settings.js')
-rw-r--r--src/bg/Settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/Settings.js b/src/bg/Settings.js
index 09f0edd..56c88f4 100644
--- a/src/bg/Settings.js
+++ b/src/bg/Settings.js
@@ -90,7 +90,7 @@ var Settings = {
if (typeof unrestrictedTab === "boolean") {
ns.unrestrictedTabs[unrestrictedTab ? "add" : "delete"](tabId);
- ChildPolicies.storeTabInfo(tabId, {unrestricted: unrestrictedTab});
+ ChildPolicies.storeTabInfo(tabId, unrestrictedTab && {unrestricted: true});
}
if (reloadAffected) {
browser.tabs.reload(tabId);