mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
global menu
This commit is contained in:
@@ -94,6 +94,13 @@ $(document).on("click", "button[data-help-page]", e => {
|
||||
|
||||
$("#logout-button").toggle(!utils.isElectron());
|
||||
|
||||
$("#logout-button").click(() => {
|
||||
const $logoutForm = $('<form action="logout" method="POST">');
|
||||
|
||||
$("body").append($logoutForm);
|
||||
$logoutForm.submit();
|
||||
});
|
||||
|
||||
$("#tree").on("click", ".unhoist-button", hoistedNoteService.unhoist);
|
||||
|
||||
if (utils.isElectron()) {
|
||||
|
||||
Reference in New Issue
Block a user