Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Selectmenu: make use of Menu option 'role'

  • Loading branch information...
commit 7345e4304884021f7cfc499b30cc2147f9501bdb 1 parent b30184d
Felix Nagel authored May 24, 2012

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  ui/jquery.ui.selectmenu.js
8  ui/jquery.ui.selectmenu.js
@@ -148,10 +148,10 @@ $.widget( "ui.selectmenu", {
148 148
 					}
149 149
 				}
150 150
 				that.focus = item.index;
151  
-			}
152  
-		})
153  
-		// change ARIA role
154  
-		.attr( 'role', 'listbox' );
  151
+			},
  152
+			// set ARIA role
  153
+			role: 'listbox'
  154
+		});
155 155
 
156 156
 		// change menu styles?
157 157
 		if ( this.options.dropdown ) {

0 notes on commit 7345e43

Please sign in to comment.
Something went wrong with that request. Please try again.