fix(webui): properly deselect active focus school so unlocking is free
All checks were successful
Build / build (pull_request) Successful in 1m1s

This commit is contained in:
Sainan 2025-09-01 12:24:41 +02:00
parent e2349b361e
commit 15c0f972e9

View File

@ -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({