diff --git a/src/public/app/widgets/buttons/note_actions.ts b/src/public/app/widgets/buttons/note_actions.ts index c53c0b84a..dc332b541 100644 --- a/src/public/app/widgets/buttons/note_actions.ts +++ b/src/public/app/widgets/buttons/note_actions.ts @@ -194,6 +194,7 @@ export default class NoteActionsWidget extends NoteContextAwareWidget { const canPrint = ["text", "code"].includes(note.type); this.toggleDisabled(this.$printActiveNoteButton, canPrint); this.toggleDisabled(this.$exportAsPdfButton, canPrint); + this.$exportAsPdfButton.toggleClass("hidden-ext", !utils.isElectron()); this.$renderNoteButton.toggle(note.type === "render");