diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-01 19:15:07 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-01 19:15:07 +0200 |
commit | 515069f9ecf7eb3d5b83bb79ae1dfa799bf9630d (patch) | |
tree | ee611ffe0e208c9ce41b68ea3512fa059415948a | |
parent | 5220d4f373ae70037bdf8f4e1934ec9631912e67 (diff) |
luci-mod-wireless: avoid signal badge wrapping in scan list
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js index 07b986879..09f921179 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js @@ -53,7 +53,7 @@ function render_signal_badge(signalPercent, signalValue, noiseValue, wrap) { _('SNR'), signalValue - noiseValue); } else if (signalValue != null && signalValue != 0) { - value = '%d %s'.format(signalValue, _('dBm')); + value = '%d\xa0%s'.format(signalValue, _('dBm')); title = '%s: %d %s'.format(_('Signal'), signalValue, _('dBm')); } else if (signalPercent > -1) { |