Skip to content
Permalink
Browse files

Accordion: Remove disabled check in _keydown, covered by _bind

  • Loading branch information
jzaefferer committed Mar 7, 2012
1 parent 0509582 commit 397176da3ecdbcb15adc9a259cbbb59f029a711f
Showing with 1 addition and 2 deletions.
  1. +1 −2 ui/jquery.ui.accordion.js
@@ -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;
}

0 comments on commit 397176d

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