Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Feb 9, 2023
1 parent f2a0572 commit 539a859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/autoplay/autoplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default function Autoplay({ swiper, extendParams, on, emit, params }) {
autoplayTimeLeft = delay;
const speed = swiper.params.speed;
const proceed = () => {
if(!swiper || swiper.destroyed) return;
if (!swiper || swiper.destroyed) return;
if (swiper.params.autoplay.reverseDirection) {
if (!swiper.isBeginning || swiper.params.loop || swiper.params.rewind) {
swiper.slidePrev(speed, true, true);
Expand Down

0 comments on commit 539a859

Please sign in to comment.