mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
fixed frontend script execution
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const api = (function() {
|
||||
function Api() {
|
||||
const $pluginButtons = $("#plugin-buttons");
|
||||
|
||||
async function activateNote(notePath) {
|
||||
@@ -14,8 +14,10 @@ const api = (function() {
|
||||
}
|
||||
|
||||
return {
|
||||
__modules: {},
|
||||
__notes: {},
|
||||
addButtonToToolbar,
|
||||
activateNote,
|
||||
getInstanceName: noteTree.getInstanceName
|
||||
}
|
||||
})();
|
||||
}
|
||||
Reference in New Issue
Block a user