diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-07 19:28:42 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-07 19:28:42 +0100 |
commit | 397176da3ecdbcb15adc9a259cbbb59f029a711f (patch) | |
tree | c197b661435ee234ae2ac4e48e36c7b24d1dfa43 /ui | |
parent | 050958277317cf127b98f8ac26f70f57cf147b26 (diff) | |
download | jquery-ui-397176da3ecdbcb15adc9a259cbbb59f029a711f.tar.gz jquery-ui-397176da3ecdbcb15adc9a259cbbb59f029a711f.zip |
Accordion: Remove disabled check in _keydown, covered by _bind
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.accordion.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index bf8434c6d..e3e09c9f4 100644 --- a/ui/jquery.ui.accordion.js +++ b/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; } |