From: Jörn Zaefferer Date: Wed, 7 Mar 2012 18:28:42 +0000 (+0100) Subject: Accordion: Remove disabled check in _keydown, covered by _bind X-Git-Tag: 1.9m7~13^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=397176da3ecdbcb15adc9a259cbbb59f029a711f;p=jquery-ui.git Accordion: Remove disabled check in _keydown, covered by _bind --- 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; }