From a93c1b9e1a8bf5ac92af0ee150e8de10ce49aa7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Wed, 25 Dec 2024 21:51:31 +0800 Subject: [PATCH] . --- docs/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/main.js b/docs/main.js index 70960605..cfd52869 100644 --- a/docs/main.js +++ b/docs/main.js @@ -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']