refactoring of legacy js events

This commit is contained in:
zadam
2019-11-09 17:45:22 +01:00
parent 31bcc037f1
commit 3a1c80c189
22 changed files with 34 additions and 31 deletions

View File

@@ -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);