fix
This commit is contained in:
parent
0f99ba192d
commit
b69ce26a91
|
@ -444,7 +444,7 @@ function react(viaKeyboard = false): void {
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleReact() {
|
function toggleReact() {
|
||||||
if (appearNote.value.myReactions?.length < 3 || !appearNote.value.myReactions ) {
|
if (appearNote.value.myReactions?.length < 3 || appearNote.value.myReaction && appearNote.value.user.host || !appearNote.value.myReactions ) {
|
||||||
react();
|
react();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -502,7 +502,7 @@ function undoReact(targetNote: Misskey.entities.Note): void {
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleReact() {
|
function toggleReact() {
|
||||||
if (appearNote.value.myReactions?.length < 3 || !appearNote.value.myReactions ) {
|
if (appearNote.value.myReactions?.length < 3 || appearNote.value.myReaction && appearNote.value.user.host || !appearNote.value.myReactions ) {
|
||||||
react();
|
react();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue