Skip to content
Permalink
Browse files

Selectmenu: make use of Menu option 'role' (follow-up), no need to ad…

…just li role
  • Loading branch information
fnagel committed May 24, 2012
1 parent 37a8047 commit d4ec5cbb3f4234c925673fb9442e556606f79275
Showing with 0 additions and 3 deletions.
  1. +0 −3 ui/jquery.ui.selectmenu.js
@@ -175,9 +175,6 @@ $.widget( "ui.selectmenu", {
this.menu.menu( "refresh" );
this.menuItems = this.menu.find( "li" ).not( '.ui-selectmenu-optgroup' );

// adjust ARIA
this.menuItems.find( 'a' ).attr( 'role', 'option' );

// select current item
item = this._getSelectedItem();
this.menu.menu( "focus", null, item );

0 comments on commit d4ec5cb

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