diff --git a/app/src/protyle/render/av/openMenuPanel.ts b/app/src/protyle/render/av/openMenuPanel.ts index 92e87cb35..dda4883f0 100644 --- a/app/src/protyle/render/av/openMenuPanel.ts +++ b/app/src/protyle/render/av/openMenuPanel.ts @@ -23,7 +23,7 @@ import {Constants} from "../../../constants"; import {hideElements} from "../../ui/hideElements"; import {isLocalPath, pathPosix} from "../../../util/pathName"; import {openEmojiPanel, unicode2Emoji} from "../../../emoji"; -import {getSearch} from "../../../util/functions"; +import {getSearch, isMobile} from "../../../util/functions"; /// #if !MOBILE import {openAsset} from "../../../editor/util"; /// #endif @@ -145,9 +145,9 @@ export const openMenuPanel = (options: { } } - document.body.insertAdjacentHTML("beforeend", `
+ document.body.insertAdjacentHTML("beforeend", `
-
${html}
+
${html}
`); avPanelElement = document.querySelector(".av__panel"); let closeCB: () => void;