summaryrefslogtreecommitdiff
path: root/srs-anywhere.js
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.org>2025-12-21 09:12:43 -0500
committerJakob L. Kreuze <zerodaysfordays@sdf.org>2025-12-21 09:14:41 -0500
commit1476d7d766b401678563a9f5ee4e9405eae4f157 (patch)
tree57174b1c7c631754f64ed7e4a61e59fa638b5dd3 /srs-anywhere.js
parent611229735d83b61823bf0768b47d405e47fe753c (diff)
Flag cards that are marked as forgotten
Diffstat (limited to 'srs-anywhere.js')
-rw-r--r--srs-anywhere.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/srs-anywhere.js b/srs-anywhere.js
index 0931b07..8f77f02 100644
--- a/srs-anywhere.js
+++ b/srs-anywhere.js
@@ -249,6 +249,7 @@ function rateCard(rating) {
if (rating === "forgot") {
// Shift forgotten card to end.
+ card._flagged = true;
window.cards.push(card);
window.cards.splice(window.index, 1);
loadCard(window.cards[window.index]);