mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
consistent usage of arrow syntax instead of anonymous functions
This commit is contained in:
@@ -8,7 +8,7 @@ function showRecentChanges() {
|
||||
$.ajax({
|
||||
url: baseApiUrl + 'recent-changes/',
|
||||
type: 'GET',
|
||||
success: function (result) {
|
||||
success: result => {
|
||||
const groupedByDate = new Map();
|
||||
const dayCache = {};
|
||||
|
||||
@@ -78,7 +78,7 @@ function showRecentChanges() {
|
||||
|
||||
$(document).bind('keydown', 'alt+r', showRecentChanges);
|
||||
|
||||
$(document).on('click', '#recentChangesDialog a', function(e) {
|
||||
$(document).on('click', '#recentChangesDialog a', e => {
|
||||
goToInternalNote(e, () => {
|
||||
$("#recentChangesDialog").dialog('close');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user