diff options
author | Brandon Aaron <brandon.aaron@gmail.com> | 2007-12-19 19:05:34 +0000 |
---|---|---|
committer | Brandon Aaron <brandon.aaron@gmail.com> | 2007-12-19 19:05:34 +0000 |
commit | add0681f907c11e1a16b9e4759f575195a790c06 (patch) | |
tree | c0ea195dab0ebbf432c13c052dfae6486d0da9c0 | |
parent | be9302b710416715b9d278f589be99fa6f9e7cb8 (diff) | |
download | jquery-add0681f907c11e1a16b9e4759f575195a790c06.tar.gz jquery-add0681f907c11e1a16b9e4759f575195a790c06.zip |
offset: make sure border width always gets calculated in pixels
-rw-r--r-- | src/offset.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/offset.js b/src/offset.js index 11a187eed..cf1af337d 100644 --- a/src/offset.js +++ b/src/offset.js @@ -86,7 +86,7 @@ jQuery.fn.offset = function() { } function border(elem) { - add( jQuery.css(elem, "borderLeftWidth"), jQuery.css(elem, "borderTopWidth") ); + add( jQuery.curCSS(elem, "borderLeftWidth", true), jQuery.curCSS(elem, "borderTopWidth", true) ); } function add(l, t) { |