Skip to content
Permalink
Browse files

Selectmenu: improve option appendTo handling in appendTo method

  • Loading branch information...
fnagel committed Dec 12, 2012
1 parent 2845d38 commit d1350f9f1113ef5590ec010f16da7068646aec01
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.selectmenu.js
@@ -401,7 +401,7 @@ $.widget( "ui.selectmenu", {
this._super( key, value );

if ( key === "appendTo" ) {
this.menuWrap.appendTo( $( value || "body", this.element[ 0 ].ownerDocument )[ 0 ] );
this.menuWrap.appendTo( this.document.find( value || "body" )[0] );
}
if ( key === "disabled" ) {
this.menu.menu( "option", "disabled", value );

0 comments on commit d1350f9

Please sign in to comment.
You can’t perform that action at this time.