9
0
mirror of https://github.com/donlon/cloudflare-error-page.git synced 2025-12-19 14:59:28 +00:00

editor/ui: increase input 'debounce' time

This commit is contained in:
Anthony Donlon
2025-11-22 00:44:23 +08:00
parent b837945612
commit 65648a8cc5

View File

@@ -380,7 +380,7 @@
inp.addEventListener('input', debounce(() => {
// Update status block color classes for quick visual feedback in the editor
render();
}, 250));
}, 1500));
// for radio change events (error_source)
if (inp.type === 'radio') inp.addEventListener('change', () => { render(); });
});