XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 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
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +3 -0
Modified static/webui/script.js +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 }