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