diff options
author | Stefan Weil <sw@weilnetz.de> | 2018-10-28 22:38:20 +0100 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2018-10-28 22:38:20 +0100 |
commit | ec63339ae5258509cf7a8829d4dd79519948c256 (patch) | |
tree | 1ae6ab68f92f6c483b0e466b72e9b2ce9a702037 /themes | |
parent | 35b543e270428357d22ede5ceff39653b3371a1b (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-x | themes/luci-theme-material/htdocs/luci-static/material/js/script.js | 1 |
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 583d66d91..27bb5ac03 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{ |