diff --git a/clamp.js b/clamp.js index f13e8ad..8770ecc 100644 --- a/clamp.js +++ b/clamp.js @@ -241,7 +241,7 @@ sty.webkitLineClamp = clampValue; if (isCSSValue) { - sty.height = opt.clamp + 'px'; + sty.height = opt.clamp; } } else { @@ -258,4 +258,4 @@ } window.$clamp = clamp; -})(); \ No newline at end of file +})();