This commit is contained in:
ThatOneCalculator 2022-10-25 18:45:24 -07:00
parent 63585463b3
commit 60a2ece852
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
v-if="canRenote"
ref="buttonRef"
class="eddddedb _button canRenote"
@click="renote()"
@click="renote(false, $event)"
>
<i class="fas fa-retweet"></i>
<p v-if="count > 0" class="count">{{ count }}</p>
@ -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', {