diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 209d6289b..46289677b 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -141,9 +141,9 @@ $.widget( "ui.selectmenu", { } if ( !that.isOpen ) { that._select( item, event ); - } - that.focus = item.index; - } + } + } + that.focus = item.index; } }) // change ARIA role