mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 22:35:50 +01:00
fix Jump To search input restoration
This commit is contained in:
@@ -6,7 +6,14 @@ function init(callback) {
|
||||
}
|
||||
|
||||
function wrap(callback) {
|
||||
return () => init(callback);
|
||||
return () => {
|
||||
try {
|
||||
init(callback);
|
||||
}
|
||||
catch (e) {
|
||||
console.log(`Error occurred: ${e.message}: ${e.stack}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function get(key) {
|
||||
|
||||
Reference in New Issue
Block a user