mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Selectmenu: removed Position Plugin offset option to fix broken pop-up functionality
This commit is contained in:
6
ui/jquery.ui.selectmenu.js
vendored
6
ui/jquery.ui.selectmenu.js
vendored
@@ -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"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user