diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-18 18:27:47 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-18 18:27:47 +0900 |
| commit | 802a35d4b6f438f9f931eb5cd791e950deaa445b (patch) | |
| tree | 2ec756521282012625f66eed212786b7b1495cea /packages/client/src/components | |
| parent | Improve: unclip (#8823) (diff) | |
| download | sharkey-802a35d4b6f438f9f931eb5cd791e950deaa445b.tar.gz sharkey-802a35d4b6f438f9f931eb5cd791e950deaa445b.tar.bz2 sharkey-802a35d4b6f438f9f931eb5cd791e950deaa445b.zip | |
fix typo
Diffstat (limited to 'packages/client/src/components')
| -rw-r--r-- | packages/client/src/components/note.vue | 6 |
1 files changed, 3 insertions, 3 deletions
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<Ref<misskey.entities.Clip>>('cullentClipPage'); +const currentClipPage = inject<Ref<misskey.entities.Clip>>('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); } |