triggering the animation once images are loaded. Wasn't playing correctly on safari earlier

This commit is contained in:
Yasoob Khalid
2022-05-17 10:42:05 +05:00
parent 22fd5ea0f0
commit 156da6c30a
2 changed files with 4 additions and 0 deletions

View File

@@ -540,6 +540,9 @@ section.supportus {
.avatar-row {
width: max-content;
}
.infinite-scroll {
animation: 48s linear 0s infinite normal none running scroll;
}

View File

@@ -696,6 +696,7 @@
for (let count = 0; count < rowCount; count++) {
const splicedArray = supporterArrays.splice(0, rowItemCount);
avatarRows[count].innerHTML = splicedArray.join('') + splicedArray.join('');
avatarRows[count].classList.add('infinite-scroll');
}
initializeTooltips("tooltip");