Skip to content

Commit c0d82e4

Browse files
committed
fixed: toggle dropdown when icon is clicked, related to fnagel#147, thx to @brainTrain, see fnagel#159
1 parent 5472925 commit c0d82e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.selectmenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ $.widget("ui.selectmenu", {
593593
},
594594

595595
_toggle: function(event, retainFocus) {
596-
if ( this.list.is('.' + this.widgetBaseClass + '-open') ) {
596+
if ( this.list.parent().is('.' + this.widgetBaseClass + '-open') ) {
597597
this.close(event, retainFocus);
598598
} else {
599599
this.open(event);

0 commit comments

Comments
 (0)