what ??? it was using the odl one ???
This commit is contained in:
parent
7b7f6cab6a
commit
309d357d0b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue