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