mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
removed all onclick handlers from index template
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
const settings = (function() {
|
||||
const $showDialogButton = $("#settings-button");
|
||||
const $dialog = $("#settings-dialog");
|
||||
const $tabs = $("#settings-tabs");
|
||||
|
||||
@@ -38,6 +39,8 @@ const settings = (function() {
|
||||
showMessage("Settings change have been saved.");
|
||||
}
|
||||
|
||||
$showDialogButton.click(showDialog);
|
||||
|
||||
return {
|
||||
showDialog,
|
||||
saveSettings,
|
||||
|
||||
Reference in New Issue
Block a user