From 3fedc701f13d3937670ef06589429290747e7a4c Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon, 1 Sep 2025 20:30:11 -0700 Subject: [PATCH] fix(webui): properly deselect active focus school so unlocking is free (#2737) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2737 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- static/webui/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/webui/script.js b/static/webui/script.js index e48b4f51..e1660171 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -2339,7 +2339,7 @@ function unlockFocusSchool(upgradeType) { $.post({ url: "/api/focus.php?" + window.authz + "&op=5", contentType: "text/plain", - data: "{}" + data: JSON.stringify({ FocusType: null }) }).done(function () { // Unlock the way now $.post({