diff --git a/Client/udpstreamer/static/app.js b/Client/udpstreamer/static/app.js index d23f7c0..42c2783 100644 --- a/Client/udpstreamer/static/app.js +++ b/Client/udpstreamer/static/app.js @@ -3533,7 +3533,9 @@ function refreshVScaleMenu() { if (focused !== scaleEl) scaleEl.value = cal.scale; if (focused !== offsetEl) offsetEl.value = cal.offset; if (focused !== unitEl) unitEl.value = cal.unit; - [scaleEl, offsetEl, unitEl].forEach(el => el.classList.remove('cal-invalid')); + [scaleEl, offsetEl, unitEl].forEach(el => { + if (focused !== el) el.classList.remove('cal-invalid'); + }); const srcLabel = srcLabelForKey(_vsMenuKey); const usable = srcLabel !== '' && base !== ''; [scaleEl, offsetEl, unitEl, document.getElementById('btn-cal-reset')]