Skip to content

Commit 69113c9

Browse files
authored
fix(core): typo in autoplay param (#7848)
1 parent d197641 commit 69113c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/mousewheel/mousewheel.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ export default function Mousewheel({ swiper, extendParams, on, emit }) {
385385
if (!ignoreWheelEvents) emit('scroll', e);
386386

387387
// Stop autoplay
388-
if (swiper.params.autoplay && swiper.params.autoplayDisableOnInteraction)
388+
if (swiper.params.autoplay && swiper.params.autoplay.disableOnInteraction)
389389
swiper.autoplay.stop();
390390
// Return page scroll on edge positions
391391
if (

0 commit comments

Comments
 (0)