]> source.dussan.org Git - jquery-ui.git/commitdiff
Accordion: Remove disabled check in _keydown, covered by _bind
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 7 Mar 2012 18:28:42 +0000 (19:28 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 7 Mar 2012 18:28:42 +0000 (19:28 +0100)
ui/jquery.ui.accordion.js

index bf8434c6de5dc7cb67c2a491458a34bb6b91c46a..e3e09c9f46d955f04172db018d8e6fff75516dbc 100644 (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;
                }