diff options
author | Felix Nagel <info@felixnagel.com> | 2013-02-13 23:30:37 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-02-13 23:30:37 +0100 |
commit | 50bb89f3be926e8ad45b16d6ed7b3256713e9a53 (patch) | |
tree | 65ee58274f69178d12afc2a3c62e402c18c1c6d9 /ui/jquery.ui.selectmenu.js | |
parent | 06eb3bff6a2e2a40fc5a540f46680c6fdf830f94 (diff) | |
download | jquery-ui-50bb89f3be926e8ad45b16d6ed7b3256713e9a53.tar.gz jquery-ui-50bb89f3be926e8ad45b16d6ed7b3256713e9a53.zip |
Selectmenu: follow-up to: menuItems now contains link elements instead of list elements
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 0468983a5..6b111359d 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/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 ) { |