Skip to content

Commit d243fb1

Browse files
committed
updated script
1 parent 9f96a70 commit d243fb1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

assets/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ function runCitationScripts() {
1717
const citations = document.querySelectorAll(".citation");
1818
citations.forEach((citation, index) => {
1919
console.log('Setting animation delay for citation', index, citation);
20-
citation.style.animationDelay = `${(index + 1) * 0.4}s`;
20+
citation.style.animationDelay = `${index * 0.2}s`;
2121
});
2222
}
2323

24-
document.addEventListener("DOMContentLoaded", () => {
24+
window.addEventListener("load", () => {
2525
const papers = document.querySelectorAll(".paper-item");
2626

2727
papers.forEach((paper, index) => {

0 commit comments

Comments
 (0)