mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: added comment about popup positioning
This commit is contained in:
parent
f622428c43
commit
18ecaf45db
1
ui/jquery.ui.selectmenu.js
vendored
1
ui/jquery.ui.selectmenu.js
vendored
@ -211,6 +211,7 @@ $.widget( "ui.selectmenu", {
|
||||
this._toggleAttr();
|
||||
this.menu.menu( "focus", event, this._getSelectedItem() );
|
||||
|
||||
// do not change position if non default position options are set (needed for custom positioned popup menus)
|
||||
if ( this.items && !this.options.dropdown && this.options.position.my == "left top" && this.options.position.at == "left bottom" ) {
|
||||
var currentItem = this._getSelectedItem();
|
||||
// center current item
|
||||
|
Loading…
Reference in New Issue
Block a user