Selectmenu: make sure position option could be overwritten

This commit is contained in:
Felix Nagel 2013-01-02 19:36:56 +01:00
parent 44e472a613
commit 2eb92232f3

View File

@ -192,7 +192,7 @@ $.widget( "ui.selectmenu", {
this.isOpen = true;
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 );
},