aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhackademix <giorgio@maone.net>2018-07-29 18:04:42 +0200
committerhackademix <giorgio@maone.net>2018-07-29 18:04:42 +0200
commit096cd90010b093e7c211f3318cbe41711ecfdef9 (patch)
treee37c97ad69f979a22e31a35cbb0e6ef59d12435c
parent3dec5974112550595e8451666cb94b0690096542 (diff)
Fixed typo causing pages containing no script elements not to be rendered at all
-rw-r--r--main_background.js2
1 files changed, 1 insertions, 1 deletions
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++){