luci-mod-network: change to non-breaking space character
authorPaul Donald <redacted>
Fri, 20 Sep 2024 15:49:07 +0000 (17:49 +0200)
committerPaul Donald <redacted>
Fri, 20 Sep 2024 15:49:07 +0000 (17:49 +0200)
Closes #7252

Thanks to @efahl

Signed-off-by: Paul Donald <redacted>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js

index 3efd07f7f4f247298522eace229ebb85858ff61c..cedf1675ffa3637ae14445a2340ea3ec9d9db1e2 100644 (file)
@@ -80,7 +80,7 @@ function render_signal_badge(signalPercent, signalValue, noiseValue, wrap, mode)
                }
 
                if (noiseValue != null && noiseValue != 0) {
-                       value = '---/%d\x0a%s'.format(noiseValue, _('dBm'));
+                       value = '---/%d\xa0%s'.format(noiseValue, _('dBm'));
                        title = '%s / %s: %d %s'.format(title, _('Noise'), noiseValue, _('dBm'));
                }
                else {
git clone https://git.99rst.org/PROJECT