This commit is contained in:
parent
8e654a575c
commit
e3600ee253
1 changed files with 2 additions and 2 deletions
|
@ -189,7 +189,7 @@ export const appearance = {
|
|||
hideStatusBar: (appearance.element.querySelector("#hideStatusBar") as HTMLInputElement).checked,
|
||||
}, response => {
|
||||
if ((
|
||||
window.siyuan.config.appearance.themeJS && !response.data.modeOS &&
|
||||
window.siyuan.config.appearance.themeJS &&
|
||||
(
|
||||
response.data.mode !== window.siyuan.config.appearance.mode ||
|
||||
window.siyuan.config.appearance.themeLight !== response.data.themeLight ||
|
||||
|
@ -217,7 +217,7 @@ export const appearance = {
|
|||
openColorPicker();
|
||||
});
|
||||
appearance.element.querySelector("#resetLayout").addEventListener("click", () => {
|
||||
resetLayout();
|
||||
resetLayout();
|
||||
});
|
||||
/// #if !BROWSER
|
||||
appearance.element.querySelector("#appearanceOpenIcon").addEventListener("click", () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue