From 36c18209b829e26541209eba316d7235c2463dfe Mon Sep 17 00:00:00 2001 From: krmanik <12841290+krmanik@users.noreply.github.com> Date: Sun, 11 Feb 2024 19:22:38 +0800 Subject: [PATCH] add definitions to card when review characters --- card templates/Card 4/front.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/card templates/Card 4/front.html b/card templates/Card 4/front.html index 6819757..5f122e8 100644 --- a/card templates/Card 4/front.html +++ b/card templates/Card 4/front.html @@ -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); + } } } }