mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
removed all onclick handlers from index template
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
const recentChanges = (function() {
|
||||
const $showDialogButton = $("#recent-changes-button");
|
||||
const $dialog = $("#recent-changes-dialog");
|
||||
|
||||
async function showDialog() {
|
||||
@@ -83,6 +84,8 @@ const recentChanges = (function() {
|
||||
|
||||
$(document).bind('keydown', 'alt+r', showDialog);
|
||||
|
||||
$showDialogButton.click(showDialog);
|
||||
|
||||
return {
|
||||
showDialog
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user