summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
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 /modules/luci-base
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 'modules/luci-base')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/cbi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/cbi.js b/modules/luci-base/htdocs/luci-static/resources/cbi.js
index f4bf0f40f..c27cc8264 100644
--- a/modules/luci-base/htdocs/luci-static/resources/cbi.js
+++ b/modules/luci-base/htdocs/luci-static/resources/cbi.js
@@ -2071,7 +2071,7 @@ function cbi_dropdown_init(sb) {
cbi_dropdown_init.prototype = CBIDropdown;
function cbi_update_table(table, data, placeholder) {
- target = isElem(table) ? table : document.querySelector(table);
+ var target = isElem(table) ? table : document.querySelector(table);
if (!isElem(target))
return;