X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fsupport.js;fp=src%2Fsupport.js;h=095866b9c12022903f2ca73ad65432f8a4eaceef;hb=ee0a0962e12b24fd717b892f6055fa0589521dae;hp=939ad4fcb55a457fe926552232ba2201b6dbf97b;hpb=36647696b69c208c3c965d0f04603e55e184b784;p=jquery.git diff --git a/src/support.js b/src/support.js index 939ad4f..095866b 100644 --- a/src/support.js +++ b/src/support.js @@ -197,7 +197,7 @@ if ( document.defaultView && document.defaultView.getComputedStyle ) { div.style.width = "1px"; div.style.marginRight = "0"; - jQuery.support.reliableMarginRight = ( parseInt(document.defaultView.getComputedStyle(div).marginRight, 10) || 0 ) === 0; + jQuery.support.reliableMarginRight = ( parseInt(document.defaultView.getComputedStyle(div, null).marginRight, 10) || 0 ) === 0; } body.removeChild( div ).style.display = "none";