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 /modules/luci-base/htdocs/luci-static/resources | |
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 'modules/luci-base/htdocs/luci-static/resources')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/cbi.js | 2 |
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 f4bf0f40fa..c27cc8264e 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; |