Skip to content

Commit d8d1abc

Browse files
committed
Fix carousel again
1 parent a6baf6e commit d8d1abc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

_tabs/teaching.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,13 @@ worldview of geophysics; interplay of media, government and lobbyists with hazar
113113
<script src="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.js"></script>
114114

115115
<script>
116-
document.addEventListener("DOMContentLoaded", function () {
116+
window.addEventListener("load", function () {
117117
new Swiper(".mySwiper", {
118118
loop: true,
119+
autoplay: {
120+
delay: 5000,
121+
disableOnInteraction: false,
122+
},
119123
pagination: {
120124
el: ".swiper-pagination",
121125
clickable: true,

0 commit comments

Comments
 (0)