Update script.js
All checks were successful
Build / build (18) (pull_request) Successful in 38s
Build / build (22) (pull_request) Successful in 52s
Build / build (20) (pull_request) Successful in 1m12s

This commit is contained in:
AMelonInsideLemon 2025-02-08 02:06:54 +01:00
parent e08e3df119
commit 4ba8b2a8c6

View File

@ -1112,7 +1112,7 @@ function doImport() {
}
function doChangeSupportedSyndicate() {
const uniqueName = document.querySelector("#changeSyndicate option:checked").value;
const uniqueName = document.getElementById("changeSyndicate").value;
revalidateAuthz(() => {
$.get("/api/setSupportedSyndicate.php?" + window.authz + "&syndicate=" + uniqueName).done(function () {
updateInventory();