mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-29 23:16:51 +00:00
Feature:
三列排版
This commit is contained in:
@@ -96,8 +96,8 @@ const initTheme = (theme, changeTheme) => {
|
||||
saveTheme('light')
|
||||
}
|
||||
}
|
||||
const baseLayoutClass = document.getElementById('wrapper').classList
|
||||
if (!baseLayoutClass.contains(theme)) {
|
||||
const baseLayoutClass = document.getElementById('wrapper')?.classList
|
||||
if (baseLayoutClass && !baseLayoutClass.contains(theme)) {
|
||||
baseLayoutClass.add(theme)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user