Skip to content

Commit

Permalink
📝 闪卡支持设置是否启用标记制卡 #7794
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Mar 28, 2023
1 parent 3da72d4 commit 786aa9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/config/flashcard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const flashcard = {
fetchPost("/api/setting/setFlashcard", {
newCardLimit: parseInt((flashcard.element.querySelector("#newCardLimit") as HTMLInputElement).value),
reviewCardLimit: parseInt((flashcard.element.querySelector("#reviewCardLimit") as HTMLInputElement).value),
mark: (flashcard.element.querySelector("#mark") as HTMLInputElement).checked,
list: (flashcard.element.querySelector("#list") as HTMLInputElement).checked,
superBlock: (flashcard.element.querySelector("#superBlock") as HTMLInputElement).checked,
deck: (flashcard.element.querySelector("#deck") as HTMLInputElement).checked,
Expand Down

0 comments on commit 786aa9e

Please sign in to comment.