mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
possibility to export single code note as markdown. UI fix of disabled buttons
This commit is contained in:
@@ -25,9 +25,21 @@ function registerEntrypoints() {
|
||||
$("#jump-to-note-dialog-button").click(jumpToNoteDialog.showDialog);
|
||||
utils.bindShortcut('ctrl+j', jumpToNoteDialog.showDialog);
|
||||
|
||||
$("#show-note-revisions-button").click(noteRevisionsDialog.showCurrentNoteRevisions);
|
||||
$("#show-note-revisions-button").click(function() {
|
||||
if ($(this).hasClass("disabled")) {
|
||||
return;
|
||||
}
|
||||
|
||||
$("#show-source-button").click(noteSourceDialog.showDialog);
|
||||
noteRevisionsDialog.showCurrentNoteRevisions();
|
||||
});
|
||||
|
||||
$("#show-source-button").click(function() {
|
||||
if ($(this).hasClass("disabled")) {
|
||||
return;
|
||||
}
|
||||
|
||||
noteSourceDialog.showDialog();
|
||||
});
|
||||
|
||||
$("#recent-changes-button").click(recentChangesDialog.showDialog);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user