Vanessa 2024-10-30 22:19:24 +08:00
parent 9a75a7b52b
commit 36f3c3fcab

View file

@ -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