mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -416,12 +416,6 @@ export class Background {
|
||||
target = target.parentElement;
|
||||
}
|
||||
});
|
||||
|
||||
/// #if MOBILE
|
||||
if (!protyle.disabled) {
|
||||
this.element.classList.add("protyle-background--mobileshow");
|
||||
}
|
||||
/// #endif
|
||||
}
|
||||
|
||||
private removeTag(protyle: IProtyle) {
|
||||
|
||||
@@ -249,6 +249,12 @@ const setHTML = (options: {
|
||||
return;
|
||||
}
|
||||
|
||||
/// #if MOBILE
|
||||
if (!protyle.disabled && !options.action.includes(Constants.CB_GET_ALL)) {
|
||||
protyle.background.element.classList.add("protyle-background--mobileshow");
|
||||
}
|
||||
/// #endif
|
||||
|
||||
if (protyle.options.render.breadcrumb) {
|
||||
protyle.breadcrumb.toggleExit(!options.action.includes(Constants.CB_GET_ALL));
|
||||
protyle.breadcrumb.render(protyle);
|
||||
|
||||
Reference in New Issue
Block a user