fix(webui): properly deselect active focus school so unlocking is free #2737

Merged
Sainan merged 1 commits from focus-unlock-fix-2 into main 2025-09-01 20:30:12 -07:00

View File

@ -2339,7 +2339,7 @@ function unlockFocusSchool(upgradeType) {
$.post({ $.post({
url: "/api/focus.php?" + window.authz + "&op=5", url: "/api/focus.php?" + window.authz + "&op=5",
contentType: "text/plain", contentType: "text/plain",
data: "{}" data: JSON.stringify({ FocusType: null })
}).done(function () { }).done(function () {
// Unlock the way now // Unlock the way now
$.post({ $.post({