Skip to content

Commit

Permalink
Merge pull request #34 from Cyberlane/stop-breaks-auto
Browse files Browse the repository at this point in the history
Stop function broke "auto" functionality
  • Loading branch information
Cyberlane authored Jul 29, 2019
2 parents 4e8a6b2 + fdfdbcf commit bc9a2bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion swipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
}

function stop() {
delay = 0;
delay = options.auto || 0;
clearTimeout(interval);
}

Expand Down
2 changes: 1 addition & 1 deletion swipe.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bc9a2bd

Please sign in to comment.