X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsupport.js;h=095866b9c12022903f2ca73ad65432f8a4eaceef;hb=ef0157d19138471b497b8575e56df428e0986a7c;hp=939ad4fcb55a457fe926552232ba2201b6dbf97b;hpb=ee81d4da920ffeddff4e47ee09ca1a63b33768b4;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";