We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee81d4d commit ef0157dCopy full SHA for ef0157d
src/support.js
@@ -197,7 +197,7 @@
197
if ( document.defaultView && document.defaultView.getComputedStyle ) {
198
div.style.width = "1px";
199
div.style.marginRight = "0";
200
- 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;
201
}
202
203
body.removeChild( div ).style.display = "none";
0 commit comments