Skip to content

Commit

Permalink
Accordion: Remove disabled check in _keydown, covered by _bind
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Mar 7, 2012
1 parent 0509582 commit 397176d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/jquery.ui.accordion.js
Expand Up @@ -192,8 +192,7 @@ $.widget( "ui.accordion", {
},

_keydown: function( event ) {
// TODO: remove disabled check when using _bind()
if ( this.options.disabled || event.altKey || event.ctrlKey ) {
if ( event.altKey || event.ctrlKey ) {
return;
}

Expand Down

0 comments on commit 397176d

Please sign in to comment.