diff --git a/clamp.js b/clamp.js index f13e8ad..13f3d2d 100644 --- a/clamp.js +++ b/clamp.js @@ -246,7 +246,7 @@ } else { var height = getMaxHeight(clampValue); - if (height <= element.clientHeight) { + if (height < element.clientHeight) { clampedText = truncate(getLastChild(element), height); } } @@ -258,4 +258,4 @@ } window.$clamp = clamp; -})(); \ No newline at end of file +})();