From 096cd90010b093e7c211f3318cbe41711ecfdef9 Mon Sep 17 00:00:00 2001 From: hackademix Date: Sun, 29 Jul 2018 18:04:42 +0200 Subject: Fixed typo causing pages containing no script elements not to be rendered at all --- main_background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main_background.js') diff --git a/main_background.js b/main_background.js index 95ae39d..093aa86 100644 --- a/main_background.js +++ b/main_background.js @@ -1175,7 +1175,7 @@ function edit_html(html,url,tabid,wl){ var scripts = html_doc.scripts; var meta_element = html_doc.getElementById("LibreJS-info"); - var first_scipt_src = ""; + var first_script_src = ""; // get the potential inline source that can contain a license for(var i = 0; i < scripts.length; i++){ -- cgit v1.2.3