mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
added top header
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$(document).bind('keydown', 'alt+r', function() {
|
||||
function showRecentChanges() {
|
||||
$("#recentChangesDialog").dialog({
|
||||
modal: true,
|
||||
width: 400,
|
||||
@@ -74,7 +74,9 @@ $(document).bind('keydown', 'alt+r', function() {
|
||||
},
|
||||
error: () => alert("Error getting recent changes.")
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
$(document).bind('keydown', 'alt+r', showRecentChanges);
|
||||
|
||||
$(document).on('click', '#recentChangesDialog a', function(e) {
|
||||
goToInternalNote(e, () => {
|
||||
|
||||
@@ -14,7 +14,7 @@ function addRecentNote(noteTreeId, noteContentId) {
|
||||
}, 1500);
|
||||
}
|
||||
|
||||
$(document).bind('keydown', 'alt+q', function() {
|
||||
function showRecentNotes() {
|
||||
$('#noteDetail').summernote('editor.saveRange');
|
||||
|
||||
$("#recentNotesDialog").dialog({
|
||||
@@ -47,7 +47,9 @@ $(document).bind('keydown', 'alt+q', function() {
|
||||
|
||||
recentNotesSelectBox.append(option);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
$(document).bind('keydown', 'alt+q', showRecentNotes);
|
||||
|
||||
function getSelectedNoteIdFromRecentNotes() {
|
||||
return $("#recentNotesSelectBox option:selected").val();
|
||||
|
||||
Reference in New Issue
Block a user