mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
refactoring of legacy js events
This commit is contained in:
@@ -96,7 +96,7 @@ $("#logout-button").on('click', () => {
|
||||
.append($(`<input type="hidden" name="_csrf" value="${glob.csrfToken}"/>`));
|
||||
|
||||
$("body").append($logoutForm);
|
||||
$logoutForm.submit();
|
||||
$logoutForm.trigger('submit');
|
||||
});
|
||||
|
||||
$("#tree").on("click", ".unhoist-button", hoistedNoteService.unhoist);
|
||||
|
||||
Reference in New Issue
Block a user