aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.core.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.core.js')
-rw-r--r--ui/jquery.ui.core.js4
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";
});