We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 914aad4 commit 5fd470eCopy full SHA for 5fd470e
ui/jquery.ui.selectmenu.js
@@ -378,9 +378,9 @@ $.widget("ui.selectmenu", {
378
.attr( 'for', this.element.attr( 'id' ) )
379
.unbind( '.selectmenu' );
380
381
- if ( o.wrapperElement ) {
382
- this.newelement.find( o.wrapperElement ).remove();
383
- this.list.find( o.wrapperElement ).remove();
+ if ( this.options.wrapperElement ) {
+ this.newelement.find( this.options.wrapperElement ).remove();
+ this.list.find( this.options.wrapperElement ).remove();
384
} else {
385
this.newelement.remove();
386
this.list.remove();
0 commit comments