Skip to content

Commit 2eb9223

Browse files
committed
Selectmenu: make sure position option could be overwritten
1 parent 44e472a commit 2eb9223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.selectmenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ $.widget( "ui.selectmenu", {
192192

193193
this.isOpen = true;
194194
this._toggleAttr();
195-
this.menuWrap.position( $.extend( {}, this.options.position, { of: this.button } ) );
195+
this.menuWrap.position( $.extend( { of: this.button }, this.options.position ) );
196196

197197
this._trigger( "open", event );
198198
},

0 commit comments

Comments
 (0)