mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
luci-base: widgets: fix const -> let variable which is later reassigned
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -190,7 +190,7 @@ var CBIZoneSelect = form.ListValue.extend({
|
||||
}
|
||||
else {
|
||||
const anyval = node.querySelector('[data-value="*"]') || '';
|
||||
const emptyval = node.querySelector('[data-value=""]') || '';
|
||||
let emptyval = node.querySelector('[data-value=""]') || '';
|
||||
|
||||
if (emptyval == null && anyval) {
|
||||
emptyval = anyval.cloneNode(true);
|
||||
|
||||
Reference in New Issue
Block a user