From 861ec9e82128e151bfeda1a1343323adbddc181b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 7 Nov 2019 08:29:06 +0100 Subject: luci-mod-status: fix stray "null" in wifi assoclist status view Fixes: #3272 Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/status/include/60_wifi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-mod-status/htdocs/luci-static/resources') 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 8242711b6a..f25ba2e462 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 @@ -153,7 +153,7 @@ return L.Class.extend({ E('div', { 'class': 'th' }, _('Host')), E('div', { 'class': 'th nowrap' }, '%s / %s'.format(_('Signal'), _('Noise'))), E('div', { 'class': 'th nowrap' }, '%s / %s'.format(_('RX Rate'), _('TX Rate'))), - supports_deauth ? E('div', { 'class': 'th nowrap right' }, _('Disconnect')) : null + supports_deauth ? E('div', { 'class': 'th nowrap right' }, _('Disconnect')) : E([]) ]) ]); -- cgit v1.2.3