mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
🐛 Cannot select Again for spaced repetition Fix https://github.com/siyuan-note/siyuan/issues/8875
This commit is contained in:
parent
5d20a2d631
commit
287fd29e29
1 changed files with 1 additions and 3 deletions
|
|
@ -326,9 +326,7 @@ export const bindCardEvent = (options: {
|
|||
editor.protyle.element.classList.remove("card__block--hidemark", "card__block--hideli", "card__block--hidesb");
|
||||
actionElements[0].classList.add("fn__none");
|
||||
actionElements[1].querySelectorAll(".b3-button").forEach((element, btnIndex) => {
|
||||
if (btnIndex !== 0) {
|
||||
element.previousElementSibling.textContent = options.blocks[index].nextDues[btnIndex - 1];
|
||||
}
|
||||
element.previousElementSibling.textContent = options.blocks[index].nextDues[btnIndex];
|
||||
});
|
||||
actionElements[1].classList.remove("fn__none");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue