Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2023-07-29 10:34:40 +08:00
commit b8085a58e0
4 changed files with 6 additions and 4 deletions

View file

@ -349,7 +349,7 @@ export const bindCardEvent = (options: {
}
return;
}
if (["0", "1", "2", "3", "-3"].includes(type) && actionElements[0].classList.contains("fn__none")) {
if (["1", "2", "3", "4", "-3"].includes(type) && actionElements[0].classList.contains("fn__none")) {
fetchPost(type === "-3" ? "/api/riff/skipReviewRiffCard" : "/api/riff/reviewRiffCard", {
deckID: options.blocks[index].deckID,
cardID: options.blocks[index].cardID,