summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliabru <liabru@brm.io>2015-05-14 20:12:05 +0100
committerliabru <liabru@brm.io>2015-05-14 20:12:05 +0100
commitd8cc3650be7a2efb8383377d09c5d7928d07747b (patch)
tree02496896cc8e105177611c3c4bdbdfe8f760bd1b
parentcc9c4169daf8ec47fbc9c97b3392e5dfc71d945c (diff)
downloadjquery-match-height-d8cc3650be7a2efb8383377d09c5d7928d07747b.zip
jquery-match-height-d8cc3650be7a2efb8383377d09c5d7928d07747b.tar.gz
jquery-match-height-d8cc3650be7a2efb8383377d09c5d7928d07747b.tar.bz2
fix for unitless properties by forcing px, closes #64
-rw-r--r--jquery.matchHeight.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery.matchHeight.js b/jquery.matchHeight.js
index e0dd755..0ec4b85 100644
--- a/jquery.matchHeight.js
+++ b/jquery.matchHeight.js
@@ -247,7 +247,7 @@
}
// set the height (accounting for padding and border)
- $that.css(opts.property, targetHeight - verticalPadding);
+ $that.css(opts.property, (targetHeight - verticalPadding) + 'px');
});
});