Update i18n.js
This commit is contained in:
1 parent
955c9d38d1
commit
4e1e24699d
1 file changed
+1
-11
+1
-11
@@ -391,16 +391,6 @@ function applyTranslation() {
|
||||
// ============================================================
|
||||
// 初始化
|
||||
// ============================================================
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
setTimeout(function() {
|
||||
// 先加载论坛名称
|
||||
if (typeof loadForumName === 'function') {
|
||||
loadForumName();
|
||||
}
|
||||
// 再翻译
|
||||
applyTranslation();
|
||||
// 显示页面
|
||||
document.body.classList.add('i18n-ready');
|
||||
}, 200);
|
||||
setTimeout(applyTranslation, 200);
|
||||
});
|
||||
Reference in new issue
Block a user