Commit ef0157d1 authored by rwldrn's avatar rwldrn

Bug #8635 Firefox uncaught exception

parent ee81d4da
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
if ( document.defaultView && document.defaultView.getComputedStyle ) { if ( document.defaultView && document.defaultView.getComputedStyle ) {
div.style.width = "1px"; div.style.width = "1px";
div.style.marginRight = "0"; 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"; body.removeChild( div ).style.display = "none";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment