Something went wrong. Try again.
A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang. (PERSONAL FORK)
Something went wrong. Try again.
1234567891011121314151617181920import {activeBlur} from "./keyboardToolbar";import {Constants} from "../../constants";
export const closePanel = () => { document.getElementById("menu").style.transform = ""; document.getElementById("sidebar").style.transform = ""; document.getElementById("model").style.transform = ""; const maskElement = document.querySelector(".side-mask") as HTMLElement; setTimeout(() => { maskElement.classList.add("fn__none"); }, Constants.TIMEOUT_TRANSITION); maskElement.style.opacity = ""; window.siyuan.menus.menu.remove();};
export const closeModel = () => { activeBlur(); document.getElementById("model").style.transform = "";};