Skip to content
Permalink
Browse files
offset: make sure border width always gets calculated in pixels
  • Loading branch information
brandonaaron committed Dec 19, 2007
1 parent be9302b commit add0681
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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) {

0 comments on commit add0681

Please sign in to comment.