diff options
author | Felix Nagel <info@felixnagel.com> | 2011-10-10 22:01:51 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2011-10-10 22:01:51 +0200 |
commit | ce7e65776a5ea082b11677c8a429646af790ab8d (patch) | |
tree | 67ff46d83840981b716da76671f6abb7faf2211d /ui | |
parent | b307c00c8ebc5df69e7449a1141c3df27075f2ef (diff) | |
download | jquery-ui-ce7e65776a5ea082b11677c8a429646af790ab8d.tar.gz jquery-ui-ce7e65776a5ea082b11677c8a429646af790ab8d.zip |
improved: selector, thx to @Ninkasi
Diffstat (limited to 'ui')
-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 367a37fae..585aab3ad 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -591,7 +591,7 @@ $.widget("ui.selectmenu", { }, _toggle: function(event, retainFocus) { - if ( this.list.parent().is('.' + this.widgetBaseClass + '-open') ) { + if ( this.listWrap.is('.' + this.widgetBaseClass + '-open') ) { this.close(event, retainFocus); } else { this.open(event); |