From 36fe9e116e982428ea6bd4739d6a657438b1b84e Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 28 Jul 2023 18:52:45 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20Upgrade=20flashcard=20algorithm=20to=20?= =?UTF-8?q?FSRSv4=20Fix=20https://github.com/siyuan-note/siyuan/issues/884?= =?UTF-8?q?3=20Rating=20=E7=9B=B8=E5=85=B3=E9=97=AE=E9=A2=98=20https://git?= =?UTF-8?q?hub.com/siyuan-note/riff/issues/2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/card/openCard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts index 1427ea4ce..19d5d7215 100644 --- a/app/src/card/openCard.ts +++ b/app/src/card/openCard.ts @@ -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,