返回提交历史
Modified
static/webui/script.js
+2
-1
XFEstudio/XFESpaceNinjaServer
fix(webui): update "possess" label when changing language (#3758)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3758 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
f3db80ae
代码差异
1 个文件
+2
-1
@@ -5213,7 +5213,8 @@ single.getRoute("/webui/admin").on("beforeload", function () {
5213
5213
const td = document.createElement("td");
5214
5214
if (window.accountId != user.id) {
5215
5215
const a = document.createElement("a");
5216
a.textContent = loc(`admin_possess`);
5216
a.textContent = loc("admin_possess");
5217
a.setAttribute("data-loc", "admin_possess");
5217
5218
a.href = "#";
5218
5219
a.onclick = function () {
5219
5220
localStorage.setItem("possessing", user.id);