mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-29 07:18:08 +09:00
fix
This commit is contained in:
parent
e9de96d94c
commit
348a459a6d
@ -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…
Reference in New Issue
Block a user