aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.selectmenu.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-02-13 23:30:37 +0100
committerFelix Nagel <info@felixnagel.com>2013-02-13 23:30:37 +0100
commit50bb89f3be926e8ad45b16d6ed7b3256713e9a53 (patch)
tree65ee58274f69178d12afc2a3c62e402c18c1c6d9 /ui/jquery.ui.selectmenu.js
parent06eb3bff6a2e2a40fc5a540f46680c6fdf830f94 (diff)
downloadjquery-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.js2
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 ) {