Bug #8635 Firefox uncaught exception
This commit is contained in:
parent
ee81d4da92
commit
ef0157d191
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue