mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: follow-up to: menuItems now contains link elements instead of list elements
This commit is contained in:
parent
06eb3bff6a
commit
50bb89f3be
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -267,7 +267,7 @@ $.widget( "ui.selectmenu", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
_getSelectedItem: function() {
|
_getSelectedItem: function() {
|
||||||
return this.menuItems.eq( this.element[ 0 ].selectedIndex );
|
return this.menuItems.eq( this.element[ 0 ].selectedIndex ).parent( "li" );
|
||||||
},
|
},
|
||||||
|
|
||||||
_toggle: function( event ) {
|
_toggle: function( event ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user