mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
This commit is contained in:
parent
e3ca2c42f1
commit
2ba32ffc7c
2 changed files with 8 additions and 3 deletions
|
|
@ -251,6 +251,11 @@ export const appearance = {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
appearance.onSetappearance(response.data);
|
appearance.onSetappearance(response.data);
|
||||||
|
if (response.data.hideStatusBar) {
|
||||||
|
document.getElementById("status").classList.add("fn__none");
|
||||||
|
} else {
|
||||||
|
document.getElementById("status").classList.remove("fn__none");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
bindEvent: () => {
|
bindEvent: () => {
|
||||||
|
|
|
||||||
|
|
@ -267,9 +267,9 @@ const initStatus = () => {
|
||||||
target = target.parentElement;
|
target = target.parentElement;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// if (window.siyuan.config.appearance.hideStatusBar) {
|
if (window.siyuan.config.appearance.hideStatusBar) {
|
||||||
// document.getElementById("status").classList.add("fn__none");
|
document.getElementById("status").classList.add("fn__none");
|
||||||
// }
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const initBar = () => {
|
const initBar = () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue