Commit add0681f authored by Brandon Aaron's avatar Brandon Aaron

offset: make sure border width always gets calculated in pixels

parent be9302b7
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment