commit 0636e56ef4e134c4e9f15279a2ea31c732ac410e
parent 0c16eb441834bea3d589d515587802c208ea744e
Author: Hunter
Date: Mon, 7 Jul 2025 19:17:52 -0400
longer timeout (500ms to 1000ms)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
@@ -218,7 +218,7 @@
EditorView.updateListener.of((update) => {
if (update.docChanged) {
clearTimeout(updateTimer);
- updateTimer = setTimeout(updatePreview, 500);
+ updateTimer = setTimeout(updatePreview, 1000);
saveToStorage();
}
})