Skip to content

Commit

Permalink
Selectmenu: follow-up to: menuItems now contains link elements instea…
Browse files Browse the repository at this point in the history
…d of list elements
  • Loading branch information
fnagel committed Feb 13, 2013
1 parent 06eb3bf commit 50bb89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.selectmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ $.widget( "ui.selectmenu", {
},

_getSelectedItem: function() {
return this.menuItems.eq( this.element[ 0 ].selectedIndex );
return this.menuItems.eq( this.element[ 0 ].selectedIndex ).parent( "li" );
},

_toggle: function( event ) {
Expand Down

0 comments on commit 50bb89f

Please sign in to comment.