mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
various widget optimizations for faster note switching
This commit is contained in:
@@ -415,7 +415,7 @@ function evaluateSimilarity(text1, text2, noteId, results) {
|
||||
*/
|
||||
function setImmediatePromise() {
|
||||
return new Promise((resolve) => {
|
||||
setImmediate(() => resolve());
|
||||
setTimeout(() => resolve(), 0);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user