File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -228,29 +228,7 @@ $.extend( $.expr[ ":" ], {
228
228
} ) ;
229
229
230
230
// support
231
- $ ( function ( ) {
232
- var body = document . body ,
233
- div = body . appendChild ( div = document . createElement ( "div" ) ) ;
234
-
235
- // access offsetHeight before setting the style to prevent a layout bug
236
- // in IE 9 which causes the element to continue to take up space even
237
- // after it is removed from the DOM (#8026)
238
- div . offsetHeight ;
239
-
240
- $ . extend ( div . style , {
241
- minHeight : "100px" ,
242
- height : "auto" ,
243
- padding : 0 ,
244
- borderWidth : 0
245
- } ) ;
246
-
247
- $ . support . minHeight = div . offsetHeight === 100 ;
248
- $ . support . selectstart = "onselectstart" in div ;
249
-
250
- // set display to none to avoid a layout bug in IE
251
- // http://dev.jquery.com/ticket/4014
252
- body . removeChild ( div ) . style . display = "none" ;
253
- } ) ;
231
+ $ . support . selectstart = "onselectstart" in document . createElement ( "div" ) ;
254
232
255
233
256
234
You can’t perform that action at this time.
0 commit comments