add offset
This commit is contained in:
parent
54b1b6236c
commit
a21bbd9a0a
1 changed files with 2 additions and 2 deletions
|
@ -488,7 +488,7 @@ function generateFollowersCode() {
|
|||
return Array.from(document.querySelectorAll(".follower_checkbox")).reduce((p,x)=>p+(x.checked?"1":"0"),"");
|
||||
}
|
||||
|
||||
function readFollowersCode(c) {
|
||||
function readFollowersCode(c, o = 0) {
|
||||
const array = Array.from(document.querySelectorAll(".follower_checkbox"));
|
||||
c.split("").forEach((x, i) => selectboxes[i].checked = parseInt(x));
|
||||
c.split("").forEach((x, i) => selectboxes[i + o].checked = parseInt(x));
|
||||
}
|
Loading…
Reference in a new issue