or true
This commit is contained in:
parent
309d357d0b
commit
5df7ceebf3
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ function readFollowersMap(m) {
|
||||||
const handles = Array.from(el_id_listfollowers.querySelectorAll(".follower_checkname"));
|
const handles = Array.from(el_id_listfollowers.querySelectorAll(".follower_checkname"));
|
||||||
handles.forEach((handle) => {
|
handles.forEach((handle) => {
|
||||||
const checkbox = handle.parentElement.querySelector(".follower_checkbox");
|
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"));
|
const handles = Array.from(el_id_listfollowing.querySelectorAll(".following_checkname"));
|
||||||
handles.forEach((handle) => {
|
handles.forEach((handle) => {
|
||||||
const checkbox = handle.parentElement.querySelector(".following_checkbox");
|
const checkbox = handle.parentElement.querySelector(".following_checkbox");
|
||||||
checkbox.checked = m[handle.innerHTML];
|
checkbox.checked = m[handle.innerHTML] || true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue