Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Menu: Spelling

  • Loading branch information...
commit 41a0e384a29abc047c2679c6079994d7a7ea2dbd 1 parent 233c9c4
@jzaefferer jzaefferer authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 ui/jquery.ui.menu.js
View
6 ui/jquery.ui.menu.js
@@ -311,7 +311,7 @@ $.widget( "ui.menu", {
},
focus: function( event, item ) {
- var nested, borderTop, paddingTop, offset, scroll, elementHeight, itemHeight, focussed;
+ var nested, borderTop, paddingTop, offset, scroll, elementHeight, itemHeight, focused;
this.blur( event, event && event.type === "focus" );
if ( this._hasScroll() ) {
@@ -330,11 +330,11 @@ $.widget( "ui.menu", {
}
this.active = item.first();
- focussed = this.active.children( "a" ).addClass( "ui-state-focus" );
+ focused = this.active.children( "a" ).addClass( "ui-state-focus" );
// only update aria-activedescendant if there's a role
// otherwise we assume focus is managed elsewhere
if ( this.options.role ) {
- this.element.attr( "aria-activedescendant", focussed.attr( "id" ) );
+ this.element.attr( "aria-activedescendant", focused.attr( "id" ) );
}
// highlight active parent menu item, if any
Please sign in to comment.
Something went wrong with that request. Please try again.