From 515069f9ecf7eb3d5b83bb79ae1dfa799bf9630d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 1 Apr 2020 19:15:07 +0200 Subject: [PATCH] luci-mod-wireless: avoid signal badge wrapping in scan list Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/network/wireless.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.25.1