Skip to content

Commit

Permalink
Merge branch 'master' into canSwipe_attr
Browse files Browse the repository at this point in the history
  • Loading branch information
branislavblazek authored Nov 23, 2020
2 parents b15c130 + 167482b commit 83db5d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-slideshow-image",
"version": "3.3.1",
"version": "3.3.2",
"author": "Femi Oladeji",
"description": "An image slideshow with react",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/slide.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class Slideshow extends Component {
startSlides() {
const { pauseOnHover, autoplay, duration } = getProps(this.props);
if (this.dragging) {
this.endSwipe();
this.endSwipe()
} else {
if (pauseOnHover && autoplay) {
this.timeout = setTimeout(() => this.goNext(), duration);
Expand Down

0 comments on commit 83db5d0

Please sign in to comment.