add commandline tasks
This commit is contained in:
parent
40a6050329
commit
54b1b6236c
1 changed files with 10 additions and 1 deletions
|
@ -482,4 +482,13 @@ el_id_winnerPlayAgain.addEventListener("click", (x) => {
|
|||
getFollowers(true);
|
||||
else
|
||||
getFollowing(true);
|
||||
})
|
||||
})
|
||||
|
||||
function generateFollowersCode() {
|
||||
return Array.from(document.querySelectorAll(".follower_checkbox")).reduce((p,x)=>p+(x.checked?"1":"0"),"");
|
||||
}
|
||||
|
||||
function readFollowersCode(c) {
|
||||
const array = Array.from(document.querySelectorAll(".follower_checkbox"));
|
||||
c.split("").forEach((x, i) => selectboxes[i].checked = parseInt(x));
|
||||
}
|
Loading…
Reference in a new issue