mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Landing pull request 370. Fixes #8763.
More Details: - https://github.com/jquery/jquery/pull/370 - https://github.com/jquery/jquery/issues/8763
This commit is contained in:
parent
38de389a8e
commit
304dd618b7
@ -206,7 +206,7 @@ jQuery.support = (function() {
|
||||
marginDiv.style.marginRight = "0";
|
||||
div.appendChild( marginDiv );
|
||||
support.reliableMarginRight =
|
||||
( parseInt( document.defaultView.getComputedStyle( marginDiv, null ).marginRight, 10 ) || 0 ) === 0;
|
||||
( parseInt( ( document.defaultView.getComputedStyle( marginDiv, null ) || { marginRight: 0 } ).marginRight, 10 ) || 0 ) === 0;
|
||||
}
|
||||
|
||||
// Remove the body element we added
|
||||
|
Loading…
Reference in New Issue
Block a user