aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorrwldrn <waldron.rick@gmail.com>2011-03-28 12:10:16 -0400
committerrwldrn <waldron.rick@gmail.com>2011-03-28 12:31:03 -0400
commitef0157d19138471b497b8575e56df428e0986a7c (patch)
tree68519f48f2140b4869c46fb3bc6edcf15081669b /src/support.js
parentee81d4da920ffeddff4e47ee09ca1a63b33768b4 (diff)
downloadjquery-ef0157d19138471b497b8575e56df428e0986a7c.tar.gz
jquery-ef0157d19138471b497b8575e56df428e0986a7c.zip
Bug #8635 Firefox uncaught exception
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js2
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";