diff options
author | Felix Nagel <info@felixnagel.com> | 2012-05-24 18:41:32 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-05-24 18:41:32 +0200 |
commit | 7345e4304884021f7cfc499b30cc2147f9501bdb (patch) | |
tree | 145c4515e7928f69c83a6838333c5b29aaad680e /ui/jquery.ui.selectmenu.js | |
parent | b30184d885329317b9dbd70835d2c4d154f98475 (diff) | |
download | jquery-ui-7345e4304884021f7cfc499b30cc2147f9501bdb.tar.gz jquery-ui-7345e4304884021f7cfc499b30cc2147f9501bdb.zip |
Selectmenu: make use of Menu option 'role'
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index ba3e208b2..73ab01cee 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -148,10 +148,10 @@ $.widget( "ui.selectmenu", { } } that.focus = item.index; - } - }) - // change ARIA role - .attr( 'role', 'listbox' ); + }, + // set ARIA role + role: 'listbox' + }); // change menu styles? if ( this.options.dropdown ) { |