From e65b3546a9a3ef9da08a2c3f40c88798d8c0978f Mon Sep 17 00:00:00 2001 From: Jiaxiang Zheng Date: Sat, 29 Aug 2015 12:04:19 +0800 Subject: [PATCH] fix: manually move the slide will stop automatic sliding --- swipe.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/swipe.js b/swipe.js index 8b29717..ea89b13 100644 --- a/swipe.js +++ b/swipe.js @@ -420,6 +420,9 @@ function Swipe(container, options) { element.removeEventListener('touchmove', events, false) element.removeEventListener('touchend', events, false) + if (options.continuous) { + delay = options.auto || 0; // set the delay option back + } }, transitionEnd: function(event) {