File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 14
14
15
15
$ . widget ( "ui.selectmenu" , {
16
16
options : {
17
- transferClasses : true ,
18
17
appendTo : "body" ,
19
18
typeAhead : 1000 ,
20
19
style : 'dropdown' ,
@@ -406,12 +405,6 @@ $.widget("ui.selectmenu", {
406
405
. toggleClass ( 'ui-icon-triangle-1-s' , isDropDown )
407
406
. toggleClass ( 'ui-icon-triangle-2-n-s' , ! isDropDown ) ;
408
407
409
- // transfer classes to selectmenu and list
410
- if ( o . transferClasses ) {
411
- var transferClasses = this . element . attr ( 'class' ) || '' ;
412
- this . newelement . add ( this . list ) . addClass ( transferClasses ) ;
413
- }
414
-
415
408
// set menu width to either menuWidth option value, width option value, or select width
416
409
if ( o . style == 'dropdown' ) {
417
410
this . list . width ( o . menuWidth ? o . menuWidth : o . width ) ;
You can’t perform that action at this time.
0 commit comments