diff options
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index c9aac2444..fbb90662e 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -140,9 +140,9 @@ $.widget( "ui.selectmenu", { if ( that.focus !== undefined ) { if ( item.index != that.focus ) { that._trigger( "focus", event, { item: item } ); - } - if ( !that.isOpen ) { - that._select( item, event ); + if ( !that.isOpen ) { + that._select( item, event ); + } } } that.focus = item.index; |