mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
fix
This commit is contained in:
parent
e9de96d94c
commit
348a459a6d
1 changed files with 1 additions and 1 deletions
|
@ -276,6 +276,7 @@ let swiperRef = null;
|
|||
|
||||
function setSwiperRef(swiper) {
|
||||
swiperRef = swiper;
|
||||
syncSlide(timelines.indexOf(src));
|
||||
}
|
||||
|
||||
function onSlideChange() {
|
||||
|
@ -286,7 +287,6 @@ function syncSlide(index) {
|
|||
swiperRef.slideTo(index);
|
||||
}
|
||||
|
||||
syncSlide(timelines.indexOf(src));
|
||||
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue