diff options
author | liabru <liabru@brm.io> | 2015-05-14 20:12:05 +0100 |
---|---|---|
committer | liabru <liabru@brm.io> | 2015-05-14 20:12:05 +0100 |
commit | d8cc3650be7a2efb8383377d09c5d7928d07747b (patch) | |
tree | 02496896cc8e105177611c3c4bdbdfe8f760bd1b | |
parent | cc9c4169daf8ec47fbc9c97b3392e5dfc71d945c (diff) | |
download | jquery-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.js | 2 |
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');
});
});
|