diff --git a/src/Col.jsx b/src/Col.jsx index 23f564c598..d7523ea6a7 100644 --- a/src/Col.jsx +++ b/src/Col.jsx @@ -46,19 +46,19 @@ var Col = React.createClass({ prop = size + 'Offset'; classPart = size + '-offset-'; - if (this.props[prop]) { + if (this.props[prop] >= 0) { classes['col-' + classPart + this.props[prop]] = true; } prop = size + 'Push'; classPart = size + '-push-'; - if (this.props[prop]) { + if (this.props[prop] >= 0) { classes['col-' + classPart + this.props[prop]] = true; } prop = size + 'Pull'; classPart = size + '-pull-'; - if (this.props[prop]) { + if (this.props[prop] >= 0) { classes['col-' + classPart + this.props[prop]] = true; } }, this); @@ -71,4 +71,4 @@ var Col = React.createClass({ } }); -module.exports = Col; \ No newline at end of file +module.exports = Col;