This commit is contained in:
MeowcaTheoRange 2024-03-19 21:59:08 -05:00
parent 309d357d0b
commit 5df7ceebf3

View file

@ -147,7 +147,7 @@ function readFollowersMap(m) {
const handles = Array.from(el_id_listfollowers.querySelectorAll(".follower_checkname"));
handles.forEach((handle) => {
const checkbox = handle.parentElement.querySelector(".follower_checkbox");
checkbox.checked = m[handle.innerHTML];
checkbox.checked = m[handle.innerHTML] || true;
});
}
@ -295,7 +295,7 @@ function readFollowingMap(m) {
const handles = Array.from(el_id_listfollowing.querySelectorAll(".following_checkname"));
handles.forEach((handle) => {
const checkbox = handle.parentElement.querySelector(".following_checkbox");
checkbox.checked = m[handle.innerHTML];
checkbox.checked = m[handle.innerHTML] || true;
});
}