global menu

This commit is contained in:
zadam
2019-02-09 19:17:16 +01:00
parent 4a093000be
commit c09570cf39
2 changed files with 29 additions and 13 deletions

View File

@@ -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()) {