Merge pull request #111 from razvandimescu/fix/allowlist-input-focus
fix(dashboard): allowlist input erased by polling refresh
This commit was merged in pull request #111.
This commit is contained in:
@@ -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 = `
|
||||||
|
|||||||
Reference in New Issue
Block a user