This commit is contained in:
恍兮惚兮 2024-12-25 21:51:31 +08:00
parent 5473caaca3
commit a93c1b9e1a

View File

@ -191,7 +191,7 @@ function switchlang(lang) {
function browserlang() {
let l = navigator.language
if (l.includes('-')) l = l.split('-')[0]
if (supportlangs.includes(l)) return l
if (supportlangs[l]) return l
return 'en'
}
const titleids = ['homepage', 'downloadlink', 'vediotutorial', 'contactme', 'bit64link', 'bit32link']