From ef0157d19138471b497b8575e56df428e0986a7c Mon Sep 17 00:00:00 2001 From: rwldrn Date: Mon, 28 Mar 2011 12:10:16 -0400 Subject: [PATCH] Bug #8635 Firefox uncaught exception --- src/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support.js b/src/support.js index 939ad4fc..095866b9 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";