Incorrectly deciding how many games are in last row when determining. borders
Closed this issue · 0 comments
briansayre commented
in source.js onResize() we have:
var numInLastRow = (liveGameContainers.length % numPossibleInRow);
if (numPossibleInRow === 4) {
numInLastRow = 4;
} else if (numInLastRow === 0) {
numInLastRow = numPossibleInRow;
}
This causes us to incorrectly remove the bottom border as seen in the picture of the last 4.
code should just be:
var numInLastRow = (liveGameContainers.length % numPossibleInRow);
if (numInLastRow === 0) {
numInLastRow = numPossibleInRow;
}