mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 09:16:09 +01:00
🐛 mobile
This commit is contained in:
parent
c7cc5e6510
commit
2de6dfc7c8
1 changed files with 3 additions and 2 deletions
|
|
@ -123,10 +123,11 @@ export const goBack = () => {
|
|||
window.siyuan.menus.menu.element.dispatchEvent(new CustomEvent("click", {detail: "back"}));
|
||||
return;
|
||||
} else if (document.getElementById("model").style.transform === "translateY(0px)") {
|
||||
if (document.getElementById("searchAssetsPanel").classList.contains("fn__none")) {
|
||||
const searchAssetsPanelElement = document.getElementById("searchAssetsPanel");
|
||||
if (!searchAssetsPanelElement || searchAssetsPanelElement.classList.contains("fn__none")) {
|
||||
document.getElementById("model").style.transform = "";
|
||||
} else {
|
||||
document.getElementById("searchAssetsPanel").classList.add("fn__none");
|
||||
searchAssetsPanelElement.classList.add("fn__none");
|
||||
}
|
||||
return;
|
||||
} else if (window.siyuan.viewer && !window.siyuan.viewer.destroyed) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue