Permalink
Browse files

Selectmenu: follow-up to: menuItems now contains link elements instea…

…d of list elements
  • Loading branch information...
1 parent 06eb3bf commit 50bb89f3be926e8ad45b16d6ed7b3256713e9a53 @fnagel fnagel committed Feb 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.selectmenu.js
@@ -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 ) {

0 comments on commit 50bb89f

Please sign in to comment.