mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 23:05:51 +01:00
improve "open" button behaviour for files when in browser
This commit is contained in:
@@ -90,7 +90,7 @@ export default class FilePropertiesWidget extends NoteContextAwareWidget {
|
||||
this.$uploadNewRevisionInput = this.$widget.find(".file-upload-new-revision-input");
|
||||
|
||||
this.$downloadButton.on('click', () => openService.downloadFileNote(this.noteId));
|
||||
this.$openButton.on('click', () => openService.openNoteExternally(this.noteId));
|
||||
this.$openButton.on('click', () => openService.openNoteExternally(this.noteId, this.note.mime));
|
||||
|
||||
this.$uploadNewRevisionButton.on("click", () => {
|
||||
this.$uploadNewRevisionInput.trigger("click");
|
||||
|
||||
Reference in New Issue
Block a user