mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-01 02:10:15 +01:00
⚡
This commit is contained in:
parent
6d672cc85f
commit
d475bee01e
7 changed files with 29 additions and 31 deletions
|
|
@ -85,7 +85,7 @@ export const initFramework = () => {
|
|||
document.getElementById("toolbarFile").addEventListener("click", () => {
|
||||
hideKeyboardToolbar();
|
||||
activeBlur();
|
||||
sidebarElement.style.left = "0";
|
||||
sidebarElement.style.transform = "translateX(0)";
|
||||
const type = sidebarElement.querySelector(".toolbar--border .toolbar__icon--active").getAttribute("data-type");
|
||||
if (type === "sidebar-outline-tab") {
|
||||
outline.update();
|
||||
|
|
@ -131,7 +131,7 @@ export const initFramework = () => {
|
|||
}, Constants.TIMEOUT_INPUT);
|
||||
}
|
||||
document.getElementById("modelClose").addEventListener("click", () => {
|
||||
document.getElementById("model").style.top = "-200vh";
|
||||
document.getElementById("model").style.transform = "";
|
||||
});
|
||||
initEditorName();
|
||||
if (getOpenNotebookCount() > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue