Permalink
Browse files

Bug #8635 Firefox uncaught exception

  • Loading branch information...
1 parent ee81d4d commit ef0157d19138471b497b8575e56df428e0986a7c @rwaldron rwaldron committed Mar 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/support.js
View
@@ -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";

0 comments on commit ef0157d

Please sign in to comment.