Skip to content

Commit

Permalink
removed: option transferClasses, see jquery#229
Browse files Browse the repository at this point in the history
  • Loading branch information
fnagel committed May 17, 2012
1 parent 8796ec1 commit 94dc516
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ui/jquery.ui.selectmenu.js
Expand Up @@ -14,7 +14,6 @@

$.widget("ui.selectmenu", {
options: {
transferClasses: true,
appendTo: "body",
typeAhead: 1000,
style: 'dropdown',
Expand Down Expand Up @@ -406,12 +405,6 @@ $.widget("ui.selectmenu", {
.toggleClass( 'ui-icon-triangle-1-s', isDropDown )
.toggleClass( 'ui-icon-triangle-2-n-s', !isDropDown );

// transfer classes to selectmenu and list
if ( o.transferClasses ) {
var transferClasses = this.element.attr( 'class' ) || '';
this.newelement.add( this.list ).addClass( transferClasses );
}

// set menu width to either menuWidth option value, width option value, or select width
if ( o.style == 'dropdown' ) {
this.list.width( o.menuWidth ? o.menuWidth : o.width );
Expand Down

0 comments on commit 94dc516

Please sign in to comment.