Skip to content

Commit

Permalink
Revert "fix(autoplay): fix swiper getting stuck with 0 autoplay delay"
Browse files Browse the repository at this point in the history
This reverts commit 61db26f.
  • Loading branch information
nolimits4web committed Jun 1, 2022
1 parent 28cd6c2 commit 56e050b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/modules/autoplay/autoplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ export default function Autoplay({ swiper, extendParams, on, emit }) {
swiper.autoplay.paused = false;
if (!swiper.autoplay.running) {
stop();
} else if (swiper.params.autoplay.delay === 0 && swiper.animating) {
swiper.once('transitionEnd', () => {
run();
});
} else {
run();
}
Expand Down

0 comments on commit 56e050b

Please sign in to comment.