diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2020-12-05 23:16:57 +0100 |
---|---|---|
committer | Ansuel Smith <ansuelsmth@gmail.com> | 2020-12-05 23:16:57 +0100 |
commit | 277ffef8aeddf269e7299ec2529d7063835be36e (patch) | |
tree | 378f7d0ddc11d081d7948b52573a023cdbe1dcf7 /modules/luci-mod-status/htdocs/luci-static/resources/view/status/include | |
parent | 48d6b6ed12920ec473eb3a7ef79898221608e522 (diff) |
luci-mod-status: fix WPS button to wrong interface
Reset the WPS_button variable to correctly add the button to the enabled interface.
Fixes: #4625
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources/view/status/include')
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js index f057f8512a..9a956a72fe 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js @@ -119,7 +119,7 @@ return baseclass.extend({ else icon = L.resource('icons/signal-75-100.png'); - var WPS_button; + var WPS_button = null; if (this.isWPSEnabled[net.sid]) { if (net.wps_status == 'Active') { |