mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 16:26:31 +01:00
removed all onclick handlers from index template
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
const noteSource = (function() {
|
||||
const $showDialogButton = $("#show-source-button");
|
||||
const $dialog = $("#note-source-dialog");
|
||||
const $noteSource = $("#note-source");
|
||||
|
||||
@@ -51,6 +52,8 @@ const noteSource = (function() {
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$showDialogButton.click(showDialog);
|
||||
|
||||
return {
|
||||
showDialog
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user