triggering the animation once images are loaded. Wasn't playing correctly on safari earlier
This commit is contained in:
@@ -540,6 +540,9 @@ section.supportus {
|
|||||||
|
|
||||||
.avatar-row {
|
.avatar-row {
|
||||||
width: max-content;
|
width: max-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
.infinite-scroll {
|
||||||
animation: 48s linear 0s infinite normal none running scroll;
|
animation: 48s linear 0s infinite normal none running scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -696,6 +696,7 @@
|
|||||||
for (let count = 0; count < rowCount; count++) {
|
for (let count = 0; count < rowCount; count++) {
|
||||||
const splicedArray = supporterArrays.splice(0, rowItemCount);
|
const splicedArray = supporterArrays.splice(0, rowItemCount);
|
||||||
avatarRows[count].innerHTML = splicedArray.join('') + splicedArray.join('');
|
avatarRows[count].innerHTML = splicedArray.join('') + splicedArray.join('');
|
||||||
|
avatarRows[count].classList.add('infinite-scroll');
|
||||||
}
|
}
|
||||||
|
|
||||||
initializeTooltips("tooltip");
|
initializeTooltips("tooltip");
|
||||||
|
|||||||
Reference in New Issue
Block a user