Skip to content

Commit

Permalink
Core: Avoid layout bug in IE with minHeight support test.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Sep 7, 2010
1 parent 8f22b2b commit 9a2dafa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/jquery.ui.core.js
Expand Up @@ -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";
});


Expand Down

0 comments on commit 9a2dafa

Please sign in to comment.