From a7595983c331eaa62711ca3ebdbc23f33cd650cd Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 25 Dec 2023 00:37:12 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E9=97=AA=E5=8D=A1=E5=A4=8D=E4=B9=A0?= =?UTF-8?q?=E4=BA=86=E5=90=8E=EF=BC=8C=E6=9C=80=E5=90=8E=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E7=82=B9=E8=89=AF=E5=A5=BD=E4=BB=80=E4=B9=88?= =?UTF-8?q?=E7=9A=84=E6=8C=89=E9=92=AE=E5=B0=B1=E4=BC=9A=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=AD=94=E6=A1=88=E8=BF=99=E4=B8=AA=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=EF=BC=8C=E4=B8=8D=E4=BC=9A=E6=98=BE=E7=A4=BA=E5=B7=B2?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=A4=8D=E4=B9=A0=E5=95=A5=E7=9A=84?= 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 6068af084..560739ce6 100644 --- a/app/src/card/openCard.ts +++ b/app/src/card/openCard.ts @@ -537,7 +537,7 @@ const nextCard = (options: { }; const allDone = (countElement: Element, editor: Protyle, actionElements: NodeListOf) => { - countElement.classList.add("fn__none"); + countElement.parentElement.classList.add("fn__none"); editor.protyle.element.classList.add("fn__none"); const emptyElement = editor.protyle.element.nextElementSibling; emptyElement.innerHTML = `
🔮
${window.siyuan.languages.noDueCard}`;