fix
This commit is contained in:
parent
63585463b3
commit
60a2ece852
|
@ -3,7 +3,7 @@
|
||||||
v-if="canRenote"
|
v-if="canRenote"
|
||||||
ref="buttonRef"
|
ref="buttonRef"
|
||||||
class="eddddedb _button canRenote"
|
class="eddddedb _button canRenote"
|
||||||
@click="renote()"
|
@click="renote(false, $event)"
|
||||||
>
|
>
|
||||||
<i class="fas fa-retweet"></i>
|
<i class="fas fa-retweet"></i>
|
||||||
<p v-if="count > 0" class="count">{{ count }}</p>
|
<p v-if="count > 0" class="count">{{ count }}</p>
|
||||||
|
@ -52,7 +52,7 @@ useTooltip(buttonRef, async (showing) => {
|
||||||
}, {}, 'closed');
|
}, {}, 'closed');
|
||||||
});
|
});
|
||||||
|
|
||||||
const renote = (viaKeyboard = false) => {
|
const renote = (viaKeyboard = false, ev?: MouseEvent) => {
|
||||||
pleaseLogin();
|
pleaseLogin();
|
||||||
if (defaultStore.state.seperateRenoteQuote) {
|
if (defaultStore.state.seperateRenoteQuote) {
|
||||||
os.api('notes/create', {
|
os.api('notes/create', {
|
||||||
|
|
Loading…
Reference in New Issue