mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🐛 闪卡复习了后,最后一个卡片点良好什么的按钮就会返回显示答案这个操作,不会显示已完成复习啥的
This commit is contained in:
parent
9cf0bd9726
commit
a7595983c3
1 changed files with 1 additions and 1 deletions
|
|
@ -537,7 +537,7 @@ const nextCard = (options: {
|
||||||
};
|
};
|
||||||
|
|
||||||
const allDone = (countElement: Element, editor: Protyle, actionElements: NodeListOf<Element>) => {
|
const allDone = (countElement: Element, editor: Protyle, actionElements: NodeListOf<Element>) => {
|
||||||
countElement.classList.add("fn__none");
|
countElement.parentElement.classList.add("fn__none");
|
||||||
editor.protyle.element.classList.add("fn__none");
|
editor.protyle.element.classList.add("fn__none");
|
||||||
const emptyElement = editor.protyle.element.nextElementSibling;
|
const emptyElement = editor.protyle.element.nextElementSibling;
|
||||||
emptyElement.innerHTML = `<div>🔮</div>${window.siyuan.languages.noDueCard}`;
|
emptyElement.innerHTML = `<div>🔮</div>${window.siyuan.languages.noDueCard}`;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue