mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Core: Avoid layout bug in IE with minHeight support test.
This commit is contained in:
parent
8f22b2b6b3
commit
9a2dafa948
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;
|
$.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";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user