summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-02 13:52:37 +0100
committerGitHub <noreply@github.com>2018-11-02 13:52:37 +0100
commitd1c24c8972f9323aa616c142019cbc89d6dd0272 (patch)
treefdd75e2206f6b2e4798692833dbffca3754f9dd6 /modules/luci-base/htdocs
parent1c076cd26dde1d510658e8cb7cb2ca0ba0205a82 (diff)
parentec63339ae5258509cf7a8829d4dd79519948c256 (diff)
Merge pull request #2252 from stweil/lgtm
Add missing variable declarations in JavaScript code
Diffstat (limited to 'modules/luci-base/htdocs')
-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 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;