summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2020-12-05 23:16:57 +0100
committerAnsuel Smith <ansuelsmth@gmail.com>2020-12-05 23:16:57 +0100
commit277ffef8aeddf269e7299ec2529d7063835be36e (patch)
tree378f7d0ddc11d081d7948b52573a023cdbe1dcf7 /modules/luci-mod-status/htdocs/luci-static/resources/view/status/include
parent48d6b6ed12920ec473eb3a7ef79898221608e522 (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.js2
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') {