summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-01 19:15:07 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-01 19:15:07 +0200
commit515069f9ecf7eb3d5b83bb79ae1dfa799bf9630d (patch)
treeee611ffe0e208c9ce41b68ea3512fa059415948a /modules/luci-mod-network/htdocs/luci-static/resources/view
parent5220d4f373ae70037bdf8f4e1934ec9631912e67 (diff)
luci-mod-wireless: avoid signal badge wrapping in scan list
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js2
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 07b9868793..09f9211790 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) {