mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fixes #8635 again (fix was lost in rewrite). Also removes unnecessary "manual" garbage collection.
This commit is contained in:
parent
f7f4ef91cf
commit
4344d08417
@ -196,7 +196,7 @@ jQuery.support = (function() {
|
|||||||
marginDiv.style.marginRight = "0";
|
marginDiv.style.marginRight = "0";
|
||||||
div.appendChild( marginDiv );
|
div.appendChild( marginDiv );
|
||||||
support.reliableMarginRight =
|
support.reliableMarginRight =
|
||||||
( parseInt( document.defaultView.getComputedStyle( marginDiv ).marginRight, 10 ) || 0 ) === 0;
|
( parseInt( document.defaultView.getComputedStyle( marginDiv, null ).marginRight, 10 ) || 0 ) === 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove the body element we added
|
// Remove the body element we added
|
||||||
@ -224,9 +224,6 @@ jQuery.support = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// release memory in IE
|
|
||||||
body = div = all = a = tds = undefined;
|
|
||||||
|
|
||||||
return support;
|
return support;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user