summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhackademix2018-08-29 00:16:48 +0200
committerhackademix2018-08-29 00:16:48 +0200
commitbe3ab16315b09ba008e7faa469ad295c409796a1 (patch)
tree90afb3f0f2e514eca6df44eb91dd0beb7bdcbcba /src
parent215b8ac18eabcaf6c87ac224b5de76ab45597f2d (diff)
downloadnoscript-be3ab16315b09ba008e7faa469ad295c409796a1.tar.gz
noscript-be3ab16315b09ba008e7faa469ad295c409796a1.tar.xz
noscript-be3ab16315b09ba008e7faa469ad295c409796a1.zip
Fixed typo in restricted.js inclusion.
Diffstat (limited to 'src')
-rw-r--r--src/ui/popup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/popup.js b/src/ui/popup.js
index a068ffb..8c34beb 100644
--- a/src/ui/popup.js
+++ b/src/ui/popup.js
@@ -131,7 +131,7 @@ addEventListener("unload", e => {
error(e, "Could not run scripts on %s: privileged page?", tab.url);
}
- await include("/lib/close\(ricted.js");
+ await include("/lib/restricted.js");
let isRestricted = isRestrictedURL(tab.url);
if (!isHttp || isRestricted) {
showMessage("warning", _("privilegedPage"));