aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.selectmenu.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-11-23 15:38:33 +0100
committerFelix Nagel <info@felixnagel.com>2012-11-23 15:38:33 +0100
commit4e68c526ab464facc56e5b85ca67f4c6648d2f21 (patch)
treee24f285fd6bfa20da21091ee253b8e1734da58d2 /ui/jquery.ui.selectmenu.js
parent709f75b66c60f4ec8452b4613d7f73c9d3088e14 (diff)
downloadjquery-ui-4e68c526ab464facc56e5b85ca67f4c6648d2f21.tar.gz
jquery-ui-4e68c526ab464facc56e5b85ca67f4c6648d2f21.zip
Selectmenu: removed Position Plugin offset option to fix broken pop-up functionality
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r--ui/jquery.ui.selectmenu.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index 574f9f8e7..768e7fb8a 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -217,10 +217,8 @@ $.widget( "ui.selectmenu", {
}
$.extend( this.options.position, {
- my: "left top",
- at: "left top",
- // calculate offset
- offset: "0 " + ( this.menu.offset().top - currentItem.offset().top + ( this.button.outerHeight() - currentItem.outerHeight() ) / 2 )
+ my: "left top" + ( this.menu.offset().top - currentItem.offset().top + ( this.button.outerHeight() - currentItem.outerHeight() ) / 2 ),
+ at: "left top"
});
}