mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: make sure position option could be overwritten
This commit is contained in:
parent
44e472a613
commit
2eb92232f3
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -192,7 +192,7 @@ $.widget( "ui.selectmenu", {
|
|||||||
|
|
||||||
this.isOpen = true;
|
this.isOpen = true;
|
||||||
this._toggleAttr();
|
this._toggleAttr();
|
||||||
this.menuWrap.position( $.extend( {}, this.options.position, { of: this.button } ) );
|
this.menuWrap.position( $.extend( { of: this.button }, this.options.position ) );
|
||||||
|
|
||||||
this._trigger( "open", event );
|
this._trigger( "open", event );
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user