Skip to content

Commit ef0157d

Browse files
committed
Bug #8635 Firefox uncaught exception
1 parent ee81d4d commit ef0157d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/support.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
if ( document.defaultView && document.defaultView.getComputedStyle ) {
198198
div.style.width = "1px";
199199
div.style.marginRight = "0";
200-
jQuery.support.reliableMarginRight = ( parseInt(document.defaultView.getComputedStyle(div).marginRight, 10) || 0 ) === 0;
200+
jQuery.support.reliableMarginRight = ( parseInt(document.defaultView.getComputedStyle(div, null).marginRight, 10) || 0 ) === 0;
201201
}
202202

203203
body.removeChild( div ).style.display = "none";

0 commit comments

Comments
 (0)