Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/12963

Vanessa36f3c3fcab1f
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts
index 212af95a9e..987c6b3968 100644
--- a/app/src/protyle/util/onGet.ts
+++ b/app/src/protyle/util/onGet.ts
@@ -250,7 +250,7 @@ const setHTML = (options: {
}
/// #if MOBILE
- if (!protyle.disabled && !options.action.includes(Constants.CB_GET_ALL)) {
+ if (!protyle.disabled && !options.action.includes(Constants.CB_GET_ALL) && protyle.background) {
protyle.background.element.classList.add("protyle-background--mobileshow");
}
/// #endif