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:
@@ -380,7 +380,7 @@
|
|||||||
inp.addEventListener('input', debounce(() => {
|
inp.addEventListener('input', debounce(() => {
|
||||||
// Update status block color classes for quick visual feedback in the editor
|
// Update status block color classes for quick visual feedback in the editor
|
||||||
render();
|
render();
|
||||||
}, 250));
|
}, 1500));
|
||||||
// for radio change events (error_source)
|
// for radio change events (error_source)
|
||||||
if (inp.type === 'radio') inp.addEventListener('change', () => { render(); });
|
if (inp.type === 'radio') inp.addEventListener('change', () => { render(); });
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user