mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 21:08:49 +01:00
This commit is contained in:
parent
2dab88c4ea
commit
800286ebce
2 changed files with 6 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue