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 add0681f907c11e1a16b9e4759f575195a790c06
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) {

0 comments on commit add0681

Please sign in to comment.
You can’t perform that action at this time.