From 5e4584e0c0c3f491f3aeeab4d62b6fde7cb6ba54 Mon Sep 17 00:00:00 2001 From: Jenna Date: Tue, 17 Jun 2014 14:36:56 -0400 Subject: [PATCH] don't append 'px' to opt.clamp. it already has it. --- clamp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +})();