返回提交历史
Modified
static/webui/script.js
+3
-0
XFEstudio/SpaceNinjaServer
chore(webui): reload when translation failed to load (#4028)
Closes #4027 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/4028 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
540f243c
代码差异
1 个文件
+3
-0
@@ -499,6 +499,9 @@ function setActiveLanguage(lang) {
499
499
updateTitle();
500
500
resolve(window.dict);
501
501
};
502
script.onerror = function () {
503
location.reload();
504
};
502
505
document.documentElement.appendChild(script);
503
506
});
504
507
}