From 802a35d4b6f438f9f931eb5cd791e950deaa445b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 18 Jun 2022 18:27:47 +0900 Subject: fix typo --- packages/client/src/components/note.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/client/src/components/note.vue') diff --git a/packages/client/src/components/note.vue b/packages/client/src/components/note.vue index b06f4edd0a..9ec1e53c1e 100644 --- a/packages/client/src/components/note.vue +++ b/packages/client/src/components/note.vue @@ -225,7 +225,7 @@ function undoReact(note): void { }); } -const cullentClipPage = inject>('cullentClipPage'); +const currentClipPage = inject>('currentClipPage'); function onContextmenu(ev: MouseEvent): void { const isLink = (el: HTMLElement) => { @@ -241,12 +241,12 @@ function onContextmenu(ev: MouseEvent): void { ev.preventDefault(); react(); } else { - os.contextMenu(getNoteMenu({ note: note, translating, translation, menuButton, isDeleted, cullentClipPage }), ev).then(focus); + os.contextMenu(getNoteMenu({ note: note, translating, translation, menuButton, isDeleted, currentClipPage }), ev).then(focus); } } function menu(viaKeyboard = false): void { - os.popupMenu(getNoteMenu({ note: note, translating, translation, menuButton, isDeleted, cullentClipPage }), menuButton.value, { + os.popupMenu(getNoteMenu({ note: note, translating, translation, menuButton, isDeleted, currentClipPage }), menuButton.value, { viaKeyboard, }).then(focus); } -- cgit v1.2.3-freya