Skip to content

Commit b178613

Browse files
committed
Fixed regression: Site Info broken by NSCL refactoring.
1 parent 0731e48 commit b178613

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/ui/siteInfo.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
(async () => {
22
let [domain, tabId] = decodeURIComponent(location.hash.replace("#", "")).split(";");
33
const BASE = "https://noscript.net";
4-
await include(['/nscl/lib/punycode.js', '/common/Storage.js']);
4+
await include([
5+
'/nscl/lib/punycode.js',
6+
'/nscl/common/Storage.js'
7+
]);
58
let {siteInfoConsent} = await Storage.get("sync", "siteInfoConsent");
69
if (!siteInfoConsent) {
7-
await include('/common/locale.js');
10+
await include('/nscl/common/locale.js');
811
siteInfoConsent = confirm(_("siteInfo_confirm", [domain, BASE]));
912
if (siteInfoConsent) {
1013
await Storage.set("sync", {siteInfoConsent});

0 commit comments

Comments
 (0)