Skip to content
Permalink
Browse files

Selectmenu: add ui-state-active class to active list item

  • Loading branch information
fnagel committed Oct 21, 2013
1 parent fab6b88 commit 67e7f18d0884f9d574f686142cf489da1d537ac5
Showing with 1 addition and 0 deletions.
  1. +1 −0 ui/jquery.ui.selectmenu.js
@@ -201,6 +201,7 @@ $.widget( "ui.selectmenu", {
// Shouldn't the underlying menu always have accurate state?
this.menu.find( ".ui-state-focus" ).removeClass( "ui-state-focus" );
this.menuInstance.focus( null, this._getSelectedItem() );
this.menuItems.eq( this.element[ 0 ].selectedIndex ).addClass( "ui-state-active" );
}

this.isOpen = true;

0 comments on commit 67e7f18

Please sign in to comment.
You can’t perform that action at this time.