Skip to content

Commit

Permalink
fix(core): typo in autoplay param (#7848)
Browse files Browse the repository at this point in the history
  • Loading branch information
selimhex authored Jan 10, 2025
1 parent d197641 commit 69113c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/mousewheel/mousewheel.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ export default function Mousewheel({ swiper, extendParams, on, emit }) {
if (!ignoreWheelEvents) emit('scroll', e);

// Stop autoplay
if (swiper.params.autoplay && swiper.params.autoplayDisableOnInteraction)
if (swiper.params.autoplay && swiper.params.autoplay.disableOnInteraction)
swiper.autoplay.stop();
// Return page scroll on edge positions
if (
Expand Down

0 comments on commit 69113c9

Please sign in to comment.