diff options
author | rwldrn <waldron.rick@gmail.com> | 2011-03-28 12:10:16 -0400 |
---|---|---|
committer | rwldrn <waldron.rick@gmail.com> | 2011-03-28 12:31:03 -0400 |
commit | ef0157d19138471b497b8575e56df428e0986a7c (patch) | |
tree | 68519f48f2140b4869c46fb3bc6edcf15081669b /src/support.js | |
parent | ee81d4da920ffeddff4e47ee09ca1a63b33768b4 (diff) | |
download | jquery-ef0157d19138471b497b8575e56df428e0986a7c.tar.gz jquery-ef0157d19138471b497b8575e56df428e0986a7c.zip |
Bug #8635 Firefox uncaught exception
Diffstat (limited to 'src/support.js')
-rw-r--r-- | src/support.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js index 939ad4fcb..095866b9c 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"; |