publisher-uaproxy-banner: no trailing period in the bar text

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Glenn Goossens
2026-10-19 14:12:09 +02:00
co-authored by Claude Sonnet 5.5
parent a548ee9174
commit ebd84ec0d5
@@ -87,9 +87,9 @@
var state = s && s.state; var state = s && s.state;
if (state === 'up' || (s && s.on_ua && state === 'down')) { hide(); return; } if (state === 'up' || (s && s.on_ua && state === 'down')) { hide(); return; }
if (!bar) build(); if (!bar) build();
var base = 'UA proxy down.'; var base = 'UA proxy down';
if (!s) { if (!s) {
text.textContent = 'uaproxyd is not running.'; text.textContent = 'uaproxyd is not running';
btn.disabled = true; btn.disabled = true;
} else if (state === 'connecting') { } else if (state === 'connecting') {
text.textContent = s.mfa ? 'Enter ' + s.mfa + ' in the Authenticator app.' : 'Connecting to the UA proxy.'; text.textContent = s.mfa ? 'Enter ' + s.mfa + ' in the Authenticator app.' : 'Connecting to the UA proxy.';