Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:rotating_light:

Vanessa3966d0b9d095
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts
index 1fdc7ea8fb..4a0c477d60 100644
--- a/app/src/card/openCard.ts
+++ b/app/src/card/openCard.ts
@@ -199,7 +199,7 @@ export const openCardByData = (cardsData: { cards: ICard[], unreviewedCount: num
index,
blocks
});
- })
+ });
event.stopPropagation();
event.preventDefault();
return;
@@ -358,8 +358,8 @@ const nextCard = (options: {
const allDone = (countElement: Element, editor: Protyle, actionElements: NodeListOf<Element>) => {
countElement.classList.add("fn__none");
editor.protyle.element.classList.add("fn__none");
- const emptyElement = editor.protyle.element.nextElementSibling
- emptyElement.innerHTML = `<div>🔮</div>${window.siyuan.languages.noDueCard}`
+ const emptyElement = editor.protyle.element.nextElementSibling;
+ emptyElement.innerHTML = `<div>🔮</div>${window.siyuan.languages.noDueCard}`;
emptyElement.classList.remove("fn__none");
actionElements[0].classList.add("fn__none");
actionElements[1].classList.add("fn__none");
@@ -376,4 +376,4 @@ const newRound = (countElement: Element, editor: Protyle, actionElements: NodeLi
emptyElement.classList.remove("fn__none");
actionElements[0].classList.add("fn__none");
actionElements[1].classList.add("fn__none");
-}
+};
diff --git a/app/src/mobile/editor.ts b/app/src/mobile/editor.ts
index 374103236f..95c87f242a 100644
--- a/app/src/mobile/editor.ts
+++ b/app/src/mobile/editor.ts
@@ -16,7 +16,7 @@ import {saveScroll} from "../protyle/scroll/saveScroll";
export const getCurrentEditor = () => {
return window.siyuan.mobile.popEditor || window.siyuan.mobile.editor;
-}
+};
export const openMobileFileById = (id: string, action = [Constants.CB_GET_HL]) => {
window.siyuan.storage[Constants.LOCAL_DOCINFO] = {id, action};