summaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2018-10-28 22:38:20 +0100
committerStefan Weil <sw@weilnetz.de>2018-10-28 22:38:20 +0100
commitec63339ae5258509cf7a8829d4dd79519948c256 (patch)
tree1ae6ab68f92f6c483b0e466b72e9b2ce9a702037 /themes
parent35b543e270428357d22ede5ceff39653b3371a1b (diff)
Add missing variable declarations in JavaScript code
This fixes errors reported by LGTM. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'themes')
-rwxr-xr-xthemes/luci-theme-material/htdocs/luci-static/material/js/script.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/js/script.js b/themes/luci-theme-material/htdocs/luci-static/material/js/script.js
index 583d66d91f..27bb5ac038 100755
--- a/themes/luci-theme-material/htdocs/luci-static/material/js/script.js
+++ b/themes/luci-theme-material/htdocs/luci-static/material/js/script.js
@@ -35,6 +35,7 @@
var nodeUrl = "";
(function(node){
+ var luciLocation;
if (node[0] == "admin"){
luciLocation = [node[1], node[2]];
}else{