mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
Allow marking code (JavaScript) notes for execution after application loads, closes #19
This commit is contained in:
@@ -202,4 +202,12 @@ window.onerror = function (msg, url, lineNo, columnNo, error) {
|
||||
return false;
|
||||
};
|
||||
|
||||
$("#logout-button").toggle(!isElectron());
|
||||
$("#logout-button").toggle(!isElectron());
|
||||
|
||||
$(document).ready(() => {
|
||||
server.get("script/startup").then(scripts => {
|
||||
for (const script of scripts) {
|
||||
executeScript(script);
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user