diff --git a/src/client/app/common/views/components/menu.vue b/src/client/app/common/views/components/menu.vue index f1e23df007..cf3a09e672 100644 --- a/src/client/app/common/views/components/menu.vue +++ b/src/client/app/common/views/components/menu.vue @@ -4,7 +4,7 @@
diff --git a/src/client/app/common/views/components/note-menu.vue b/src/client/app/common/views/components/note-menu.vue index 951a9ed1d9..4a8aae9e49 100644 --- a/src/client/app/common/views/components/note-menu.vue +++ b/src/client/app/common/views/components/note-menu.vue @@ -13,23 +13,23 @@ export default Vue.extend({ items() { const items = []; items.push({ - content: '%i18n:@favorite%', - onClick: this.favorite + text: '%i18n:@favorite%', + action: this.favorite }); if (this.note.userId == this.$store.state.i.id) { items.push({ - content: '%i18n:@pin%', - onClick: this.pin + text: '%i18n:@pin%', + action: this.pin }); items.push({ - content: '%i18n:@delete%', - onClick: this.del + text: '%i18n:@delete%', + action: this.del }); } if (this.note.uri) { items.push({ - content: '%i18n:@remote%', - onClick: () => { + text: '%i18n:@remote%', + action: () => { window.open(this.note.uri, '_blank'); } }); diff --git a/src/client/app/desktop/views/components/context-menu.menu.vue b/src/client/app/desktop/views/components/context-menu.menu.vue index 843604a059..e7deec675e 100644 --- a/src/client/app/desktop/views/components/context-menu.menu.vue +++ b/src/client/app/desktop/views/components/context-menu.menu.vue @@ -1,15 +1,17 @@