diff --git a/src/Carousel.jsx b/src/Carousel.jsx index 421fa494ce..85f335fe63 100644 --- a/src/Carousel.jsx +++ b/src/Carousel.jsx @@ -173,7 +173,7 @@ var Carousel = React.createClass({ }, renderControls: function () { - if (this.props.wrap) { + if (!this.props.wrap) { var activeIndex = this.getActiveIndex(); var count = ValidComponentChildren.numberOf(this.props.children); @@ -286,4 +286,4 @@ var Carousel = React.createClass({ } }); -module.exports = Carousel; \ No newline at end of file +module.exports = Carousel;