diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-09-07 14:06:07 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-09-07 14:06:07 -0400 |
commit | 9a2dafa94828fc43537c6fbfd133be84ca55d04b (patch) | |
tree | 90db4d6c0b2a0a2e74997f17f8988a194bff95a2 /ui/jquery.ui.core.js | |
parent | 8f22b2b6b3e7ecf0b1f49f81e1fd65e5b2c7a9cb (diff) | |
download | jquery-ui-9a2dafa94828fc43537c6fbfd133be84ca55d04b.tar.gz jquery-ui-9a2dafa94828fc43537c6fbfd133be84ca55d04b.zip |
Core: Avoid layout bug in IE with minHeight support test.
Diffstat (limited to 'ui/jquery.ui.core.js')
-rw-r--r-- | ui/jquery.ui.core.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index ff7815c75..b52ff9171 100644 --- a/ui/jquery.ui.core.js +++ b/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"; }); |