Offset: fix error from bad merge in #3695

This commit is contained in:
Jason Bedard 2017-07-10 09:12:49 -07:00
parent 0fb6b9a860
commit a6a28d24c1

View File

@ -140,8 +140,8 @@ jQuery.fn.extend( {
// Incorporate borders into its offset, since they are outside its content origin
parentOffset = jQuery( offsetParent ).offset();
parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true );
parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true );
parentOffset.top += jQuery.css( offsetParent, "borderTopWidth", true );
parentOffset.left += jQuery.css( offsetParent, "borderLeftWidth", true );
}
}