From ec63339ae5258509cf7a8829d4dd79519948c256 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 28 Oct 2018 22:38:20 +0100 Subject: Add missing variable declarations in JavaScript code This fixes errors reported by LGTM. Signed-off-by: Stefan Weil --- themes/luci-theme-material/htdocs/luci-static/material/js/script.js | 1 + 1 file changed, 1 insertion(+) (limited to 'themes/luci-theme-material/htdocs/luci-static/material') 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{ -- cgit v1.2.3