Skip to content

Commit 397176d

Browse files
committed
Accordion: Remove disabled check in _keydown, covered by _bind
1 parent 0509582 commit 397176d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ui/jquery.ui.accordion.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ $.widget( "ui.accordion", {
192192
},
193193

194194
_keydown: function( event ) {
195-
// TODO: remove disabled check when using _bind()
196-
if ( this.options.disabled || event.altKey || event.ctrlKey ) {
195+
if ( event.altKey || event.ctrlKey ) {
197196
return;
198197
}
199198

0 commit comments

Comments
 (0)