luci-mod-status: remove inline CSS hacks from wifi status
authorJo-Philipp Wich <jo@mein.io>
Fri, 8 Nov 2019 14:58:17 +0000 (15:58 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 8 Nov 2019 15:04:18 +0000 (16:04 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 6ee61230616245baac02bba903266c881d216008)

modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js

index ce332626f82638c86cc7e0368a651157d74ee470..e73f57712b381d4f9d89918127474d8bd7db0d6e 100644 (file)
@@ -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();