From 69113c99478921a52532daf2ba1ab994ed46b701 Mon Sep 17 00:00:00 2001 From: Szm <42006922+selimhex@users.noreply.github.com> Date: Fri, 10 Jan 2025 18:03:44 +0100 Subject: [PATCH] fix(core): typo in autoplay param (#7848) --- src/modules/mousewheel/mousewheel.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/mousewheel/mousewheel.mjs b/src/modules/mousewheel/mousewheel.mjs index 96a3f8501..972e7c54b 100644 --- a/src/modules/mousewheel/mousewheel.mjs +++ b/src/modules/mousewheel/mousewheel.mjs @@ -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 (