From 60a2ece852447dd4c7af1c43a5a52d583faa7ce6 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 25 Oct 2022 18:45:24 -0700 Subject: [PATCH] fix --- packages/client/src/components/MkRenoteButton.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/components/MkRenoteButton.vue b/packages/client/src/components/MkRenoteButton.vue index 1933b70fcf..299d839ddf 100644 --- a/packages/client/src/components/MkRenoteButton.vue +++ b/packages/client/src/components/MkRenoteButton.vue @@ -3,7 +3,7 @@ v-if="canRenote" ref="buttonRef" class="eddddedb _button canRenote" - @click="renote()" + @click="renote(false, $event)" >

{{ count }}

@@ -52,7 +52,7 @@ useTooltip(buttonRef, async (showing) => { }, {}, 'closed'); }); -const renote = (viaKeyboard = false) => { +const renote = (viaKeyboard = false, ev?: MouseEvent) => { pleaseLogin(); if (defaultStore.state.seperateRenoteQuote) { os.api('notes/create', {