Permalink
Browse files

Selectmenu: make sure position option could be overwritten

  • Loading branch information...
1 parent 44e472a commit 2eb92232f3c0fa7b6643dce9197dae48f5b174ef @fnagel fnagel committed Jan 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.selectmenu.js
View
2 ui/jquery.ui.selectmenu.js
@@ -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 );
},

0 comments on commit 2eb9223

Please sign in to comment.