Windows 下改用原生窗口调整方式(#2137)
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
document.documentElement.setAttribute('lang', formatLang(lang))
|
||||
}
|
||||
window.setLang()
|
||||
document.documentElement.classList.add(/os=(\w+)/.exec(window.location.search)[1])
|
||||
window.os = /os=(\w+)/.exec(window.location.search)[1]
|
||||
document.documentElement.classList.add(window.os)
|
||||
window.dom_style_theme = document.createElement('style')
|
||||
window.dom_style_lyric = document.createElement('style')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user