Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug #8635 Firefox uncaught exception

  • Loading branch information...
commit ef0157d19138471b497b8575e56df428e0986a7c 1 parent ee81d4d
@rwaldron rwaldron authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/support.js
View
2  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";
Please sign in to comment.
Something went wrong with that request. Please try again.