From add0681f907c11e1a16b9e4759f575195a790c06 Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Wed, 19 Dec 2007 19:05:34 +0000 Subject: [PATCH] offset: make sure border width always gets calculated in pixels --- src/offset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/offset.js b/src/offset.js index 11a187ee..cf1af337 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) {