Core: Avoid layout bug in IE with minHeight support test.

This commit is contained in:
Scott González 2010-09-07 14:06:07 -04:00
parent 8f22b2b6b3
commit 9a2dafa948

View File

@ -228,7 +228,9 @@ $(function() {
});
$.support.minHeight = body.appendChild( div ).offsetHeight === 100;
body.removeChild( div );
// set display to none to avoid a layout bug in IE
// http://dev.jquery.com/ticket/4014
body.removeChild( div ).style.display = "none";
});