mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Bug #8635 Firefox uncaught exception
This commit is contained in:
parent
ee81d4da92
commit
ef0157d191
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user