diff options
-rw-r--r-- | common/checks.js | 2 | ||||
-rw-r--r-- | main_background.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/checks.js b/common/checks.js index 503258d..67c835b 100644 --- a/common/checks.js +++ b/common/checks.js @@ -23,7 +23,7 @@ const acorn = require('acorn'); const { licenses } = require('./license_definitions.js'); const { patternUtils } = require('./pattern_utils.js'); -const { makeDebugLogger } = require('./common/debug.js'); +const { makeDebugLogger } = require('./debug.js'); const fnameData = require('./fname_data.json').fname_data; const LIC_RE = /@licstartThefollowingistheentirelicensenoticefortheJavaScriptcodeinthis(?:page|file)(.*)?@licendTheaboveistheentirelicensenoticefortheJavaScriptcodeinthis(?:page|file)/mi; diff --git a/main_background.js b/main_background.js index 0cdb1c1..361a933 100644 --- a/main_background.js +++ b/main_background.js @@ -680,7 +680,7 @@ async function editHtml(html, documentUrl, tabId, frameId, whitelisted) { return null; } - const scripts = htmlDoc.scripts; + let scripts = htmlDoc.scripts; const metaElement = htmlDoc.getElementById('LibreJS-info'); let firstScriptSrc = ''; |