diff --git a/lib/index.js b/lib/index.js index dcdce32..58d5504 100644 --- a/lib/index.js +++ b/lib/index.js @@ -393,16 +393,14 @@ * @api private */ Ellipsis.prototype.shouldHideOverflow = function() { - var columns = this.columnCount > 1; + var hasColumns = this.columnCount > 1; // If there is not enough room to show // even one line; hide all overflow. if (this.columnHeight < this.lineHeight) return true; // Hide all single column overflow - if (!columns) return true; - - return columns && !vendor.moz; + return !hasColumns; }; /**