luci-mod-status: remove inline CSS hacks from wifi status

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-11-08 15:58:17 +01:00
parent c527bedb0d
commit 6ee6123061

View 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();