Skip to content
Permalink
Browse files

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

  • Loading branch information...
scottgonzalez committed Sep 7, 2010
1 parent 8f22b2b commit 9a2dafa94828fc43537c6fbfd133be84ca55d04b
Showing with 3 additions and 1 deletion.
  1. +3 −1 ui/jquery.ui.core.js
@@ -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";
});


0 comments on commit 9a2dafa

Please sign in to comment.
You can’t perform that action at this time.