mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-29 16:30:25 +01:00
bumped preload cleanup delay
This commit is contained in:
1 parent
ed076328cb
commit
71ea799e45
1 file changed
+2
-2
@@ -552,11 +552,11 @@ function preloadTinyMCE() {
|
|||||||
preloadedElem = t.div({ hidden: true }, app.components.tinymce());
|
preloadedElem = t.div({ hidden: true }, app.components.tinymce());
|
||||||
document.body.appendChild(preloadedElem);
|
document.body.appendChild(preloadedElem);
|
||||||
|
|
||||||
// small enough time for the plugins to initialize
|
// small enough delay for the plugins to initialize
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
preloadedElem?.remove();
|
preloadedElem?.remove();
|
||||||
preloadedElem = null;
|
preloadedElem = null;
|
||||||
}, 500);
|
}, 1500);
|
||||||
}
|
}
|
||||||
|
|
||||||
// preload TinyMCE with all of its plugins in the background for the first
|
// preload TinyMCE with all of its plugins in the background for the first
|
||||||
|
|||||||
Reference in new issue
Block a user