Matthew Hodgson 2016-02-14 13:38:12 +02:00
parent 3785cb3f15
commit 5e5fdb9b96
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ module.exports = React.createClass({
if (this.props.truncateAt >= 0) { if (this.props.truncateAt >= 0) {
var overflowCount = childCount - this.props.truncateAt; var overflowCount = childCount - this.props.truncateAt;
if (overflowCount > 0) { if (overflowCount > 1) {
overflowJsx = this.props.createOverflowElement( overflowJsx = this.props.createOverflowElement(
overflowCount, childCount overflowCount, childCount
); );