aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-10-26 15:45:34 -0400
committerScott González <scott.gonzalez@gmail.com>2012-10-26 15:45:34 -0400
commit0c672543bf897c0d8c162a2daedbf3a85206f227 (patch)
tree45f02cdfea969378ab4b9bceb4c5185a0ac5f18d /ui
parent30556ce493b0cbda127f947c26de2f89a79c99bd (diff)
downloadjquery-ui-0c672543bf897c0d8c162a2daedbf3a85206f227.tar.gz
jquery-ui-0c672543bf897c0d8c162a2daedbf3a85206f227.zip
Core: Removed $.support.minHeight.
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.core.js24
1 files changed, 1 insertions, 23 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js
index 2e9d53ae3..7b5590fc1 100644
--- a/ui/jquery.ui.core.js
+++ b/ui/jquery.ui.core.js
@@ -228,29 +228,7 @@ $.extend( $.expr[ ":" ], {
});
// support
-$(function() {
- var body = document.body,
- div = body.appendChild( div = document.createElement( "div" ) );
-
- // access offsetHeight before setting the style to prevent a layout bug
- // in IE 9 which causes the element to continue to take up space even
- // after it is removed from the DOM (#8026)
- div.offsetHeight;
-
- $.extend( div.style, {
- minHeight: "100px",
- height: "auto",
- padding: 0,
- borderWidth: 0
- });
-
- $.support.minHeight = div.offsetHeight === 100;
- $.support.selectstart = "onselectstart" in div;
-
- // set display to none to avoid a layout bug in IE
- // http://dev.jquery.com/ticket/4014
- body.removeChild( div ).style.display = "none";
-});
+$.support.selectstart = "onselectstart" in document.createElement( "div" );