Permalink
Browse files

fix(coursel): Ensure minimum interval of 1 second

  • Loading branch information...
tmorehouse committed Aug 14, 2017
1 parent 2acb002 commit 467ec2723503b2c91b48fb613c9b67cc30ecc97c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/components/carousel.vue
@@ -232,7 +232,7 @@
});
this.intervalId = setInterval(() => {
this.next();
}, Math.min(1000, this.interval));
}, Math.max(1000, this.interval));
},
// Re-Start auto rotate slides when focus/hover leaves the carousel

0 comments on commit 467ec27

Please sign in to comment.