From be3ab16315b09ba008e7faa469ad295c409796a1 Mon Sep 17 00:00:00 2001 From: hackademix Date: Wed, 29 Aug 2018 00:16:48 +0200 Subject: Fixed typo in restricted.js inclusion. --- src/ui/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); -- cgit v1.2.3