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

This commit is contained in:
Yasoob Khalid committed 2022-05-17 10:42:05 +05:00
1 parent 22fd5ea0f0
commit 156da6c30a
2 files changed
+4

No files matched your search

+3
View File
@@ -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;
} }
+1
View File
@@ -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");