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: https://git.librecmc.org/?a=commitdiff_plain;h=132d633fd41287849cb9d776527919a7744ca8ec;p=oweals%2Fluci.git luci-mod-status: remove inline CSS hacks from wifi status Signed-off-by: Jo-Philipp Wich (cherry picked from commit 6ee61230616245baac02bba903266c881d216008) --- 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 ce332626f..e73f57712 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();