Accordion: Remove disabled check in _keydown, covered by _bind

This commit is contained in:
Jörn Zaefferer 2012-03-07 19:28:42 +01:00
parent 0509582773
commit 397176da3e

View File

@ -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;
}