mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Core: Avoid layout bug in IE with minHeight support test.
This commit is contained in:
4
ui/jquery.ui.core.js
vendored
4
ui/jquery.ui.core.js
vendored
@@ -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";
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user