mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
removed all onclick handlers from index template
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
const attributesDialog = (function() {
|
||||
const $showDialogButton = $(".show-attributes-button");
|
||||
const $dialog = $("#attributes-dialog");
|
||||
const $saveAttributesButton = $("#save-attributes-button");
|
||||
const $attributesBody = $('#attributes-table tbody');
|
||||
@@ -218,6 +219,8 @@ const attributesDialog = (function() {
|
||||
$(this).autocomplete("search", $(this).val());
|
||||
});
|
||||
|
||||
$showDialogButton.click(showDialog);
|
||||
|
||||
return {
|
||||
showDialog
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user