Skip to content

Commit c9145e8

Browse files
author
eddy
authored
Update swipe.js
自动滑动的时候,如果中途用手指滑动,自动滑动将会停止。
1 parent da6cc72 commit c9145e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swipe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ function Swipe(container, options) {
309309
event.preventDefault();
310310

311311
// stop slideshow
312-
stop();
312+
//stop();
313313

314314
// increase resistance if first or last slide
315315
if (options.continuous) { // we don't add resistance at the end

0 commit comments

Comments
 (0)