mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 18:01:15 +08:00
This commit is contained in:
parent
8e654a575c
commit
e3600ee253
@ -189,7 +189,7 @@ export const appearance = {
|
|||||||
hideStatusBar: (appearance.element.querySelector("#hideStatusBar") as HTMLInputElement).checked,
|
hideStatusBar: (appearance.element.querySelector("#hideStatusBar") as HTMLInputElement).checked,
|
||||||
}, response => {
|
}, response => {
|
||||||
if ((
|
if ((
|
||||||
window.siyuan.config.appearance.themeJS && !response.data.modeOS &&
|
window.siyuan.config.appearance.themeJS &&
|
||||||
(
|
(
|
||||||
response.data.mode !== window.siyuan.config.appearance.mode ||
|
response.data.mode !== window.siyuan.config.appearance.mode ||
|
||||||
window.siyuan.config.appearance.themeLight !== response.data.themeLight ||
|
window.siyuan.config.appearance.themeLight !== response.data.themeLight ||
|
||||||
@ -217,7 +217,7 @@ export const appearance = {
|
|||||||
openColorPicker();
|
openColorPicker();
|
||||||
});
|
});
|
||||||
appearance.element.querySelector("#resetLayout").addEventListener("click", () => {
|
appearance.element.querySelector("#resetLayout").addEventListener("click", () => {
|
||||||
resetLayout();
|
resetLayout();
|
||||||
});
|
});
|
||||||
/// #if !BROWSER
|
/// #if !BROWSER
|
||||||
appearance.element.querySelector("#appearanceOpenIcon").addEventListener("click", () => {
|
appearance.element.querySelector("#appearanceOpenIcon").addEventListener("click", () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user