what ??? it was using the odl one ???

This commit is contained in:
MeowcaTheoRange 2024-03-19 21:55:49 -05:00
parent 7b7f6cab6a
commit 309d357d0b

View file

@ -282,10 +282,10 @@ const el_id_loadhandlesfollowing = document.querySelector("#loadhandlesfollowing
function generateFollowingMap() {
const checks = Array.from(el_id_listfollowing.querySelectorAll(".following_checkbox"));
let codeMap = new Map();
let codeMap = {};
checks.forEach((checkbox) => {
const handle = checkbox.parentElement.parentElement.querySelector(".following_checkname");
codeMap.set(handle.innerHTML, checkbox.checked);
codeMap[handle.innerHTML] = checkbox.checked;
});
return codeMap;
}