Skip to content
Permalink
Browse files

Selectmenu: fix _setSelected method, fixes aria-selected and unit tests

  • Loading branch information...
fnagel committed Feb 21, 2012
1 parent 59d1580 commit d0c31c188ed496f6d18265c6e41c91509bc03bbe
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.selectmenu.js
@@ -387,7 +387,7 @@ $.widget( "ui.selectmenu", {
},

_setSelected: function( item ) {
var link = item.element.find("a");
var link = this._getSelectedItem().find("a");
// update button text
this.button.button( "option", "label", item.label );
// change ARIA attr

0 comments on commit d0c31c1

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