mirror of
https://github.com/AMNatty/Mastodon-Circles.git
synced 2024-11-24 20:17:27 -07:00
Fixed an off-by-one error (two of them actually)
This commit is contained in:
parent
ff0f81d475
commit
87d785560f
1 changed files with 2 additions and 1 deletions
|
@ -1083,7 +1083,8 @@ function showConnections(localUser, connectionList) {
|
||||||
let udNum = 0;
|
let udNum = 0;
|
||||||
if (i > numb[0]) udNum = 1;
|
if (i > numb[0]) udNum = 1;
|
||||||
if (i > numb[0] + numb[1]) udNum = 2;
|
if (i > numb[0] + numb[1]) udNum = 2;
|
||||||
usersDivs[udNum].appendChild(newUser);
|
if (i <= numb[0] + numb[1] + numb[2])
|
||||||
|
usersDivs[udNum].appendChild(newUser);
|
||||||
}
|
}
|
||||||
|
|
||||||
usersDivs.forEach((div) => {
|
usersDivs.forEach((div) => {
|
||||||
|
|
Loading…
Reference in a new issue