fix(dashboard): allowlist input erased by polling refresh #111

Merged
razvandimescu merged 1 commits from fix/allowlist-input-focus into main 2026-04-16 20:27:02 +08:00

View File

@@ -1354,6 +1354,7 @@ function renderBlockingInfo(info) {
} }
function renderAllowlist(entries) { function renderAllowlist(entries) {
if (document.activeElement && document.activeElement.id === 'allowDomainInput') return;
const el = document.getElementById('blockingAllowlist'); const el = document.getElementById('blockingAllowlist');
const count = entries.length; const count = entries.length;
el.innerHTML = ` el.innerHTML = `