From: Jo-Philipp Wich Date: Fri, 8 Nov 2019 14:58:17 +0000 (+0100) Subject: luci-mod-status: remove inline CSS hacks from wifi status X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=6ee61230616245baac02bba903266c881d216008;p=openwrt-luci.git luci-mod-status: remove inline CSS hacks from wifi status Signed-off-by: Jo-Philipp Wich --- 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 ce332626f8..e73f57712b 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 @@ -36,9 +36,6 @@ function renderbox(radio, networks) { _('Associations'), is_assoc ? (net.assoclist.length || '-') : null, null, is_assoc ? null : E('em', net.isDisabled() ? _('Wireless is disabled') : _('Wireless is not associated'))); - badge.lastElementChild.style.overflow = 'hidden'; - badge.lastElementChild.style.textOverflow = 'ellipsis'; - badges.push(badge); chan = (chan != null) ? chan : net.getChannel();