Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

set a min delay of 200ms

ammarahm-ed1b442189c1ee
diff --git a/apps/mobile/html/Web.bundle/site/init.js b/apps/mobile/html/Web.bundle/site/init.js
index 2bb0718ea..9b5f492f9 100755
--- a/apps/mobile/html/Web.bundle/site/init.js
+++ b/apps/mobile/html/Web.bundle/site/init.js
@@ -485,9 +485,7 @@ function setup_tiny(_editor) {
let prevCount = 0;
function delay(base = 0) {
- if (prevCount < 1000) return 0;
- if (prevCount > 1000 && prevCount < 10000) return 10;
- if (prevCount > 10000 && prevCount < 20000) return base + 200;
+ if (prevCount < 20000) return base + 200;
if (prevCount > 20000 && prevCount < 40000) return base + 400;
if (prevCount > 40000 && prevCount < 70000) return base + 600;
if (prevCount > 70000) return base + 1000;