Skip to content

Commit

Permalink
add definitions to card when review characters
Browse files Browse the repository at this point in the history
  • Loading branch information
krmanik committed Feb 11, 2024
1 parent 67331e1 commit 36c1820
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions card templates/Card 4/front.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@
var divId = _id.replace("text-", "char_");
if (Persistence.getItem("back" + _id) == "false") {
document.getElementById(divId).style.display = "none";
if (_id == "text-pinyin") {
showHide(".pinyin", false);
}
if (_id == "text-zhuyin") {
showHide(".zhuyin", false);
}
}
}
}
Expand Down

0 comments on commit 36c1820

Please sign in to comment.