Bug #8635 Firefox uncaught exception

1.7/enhancement_8685
rwldrn 2011-03-28 12:10:16 -04:00
parent ee81d4da92
commit ef0157d191
1 changed files with 1 additions and 1 deletions

View File

@ -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";