aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-01-02 19:36:56 +0100
committerFelix Nagel <info@felixnagel.com>2013-01-02 19:36:56 +0100
commit2eb92232f3c0fa7b6643dce9197dae48f5b174ef (patch)
tree606011d58050da9ca06acdde58a61290b4d4116d /ui
parent44e472a6134be8382a4809a1bfa34e864b63ad52 (diff)
downloadjquery-ui-2eb92232f3c0fa7b6643dce9197dae48f5b174ef.tar.gz
jquery-ui-2eb92232f3c0fa7b6643dce9197dae48f5b174ef.zip
Selectmenu: make sure position option could be overwritten
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.selectmenu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index 730c46d19..e8b6e0ee6 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/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 );
},