This commit is contained in:
MeowcaTheoRange 2024-03-19 20:28:32 -05:00
parent 98c4cd1a03
commit a8a22773aa

View file

@ -139,7 +139,7 @@ function generateFollowersMap() {
const handle = checkbox.parentElement.parentElement.querySelector(".followers_checkname"); const handle = checkbox.parentElement.parentElement.querySelector(".followers_checkname");
codeMap[handle.innerHTML] = checkbox.checked; codeMap[handle.innerHTML] = checkbox.checked;
}); });
return Object.fromEntries(codeMap.entries()); return codeMap;
} }
function readFollowersMap(m) { function readFollowersMap(m) {
@ -287,7 +287,7 @@ function generateFollowingMap() {
const handle = checkbox.parentElement.parentElement.querySelector(".following_checkname"); const handle = checkbox.parentElement.parentElement.querySelector(".following_checkname");
codeMap.set(handle.innerHTML, checkbox.checked); codeMap.set(handle.innerHTML, checkbox.checked);
}); });
return Object.fromEntries(codeMap.entries()); return codeMap;
} }
function readFollowingMap(m) { function readFollowingMap(m) {