Selaa lähdekoodia

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

Vanessa 8 kuukautta sitten
vanhempi
commit
36f3c3fcab
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/src/protyle/util/onGet.ts

+ 1 - 1
app/src/protyle/util/onGet.ts

@@ -250,7 +250,7 @@ const setHTML = (options: {
     }
     }
 
 
     /// #if MOBILE
     /// #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");
         protyle.background.element.classList.add("protyle-background--mobileshow");
     }
     }
     /// #endif
     /// #endif