mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Accordion: Remove disabled check in _keydown, covered by _bind
This commit is contained in:
parent
0509582773
commit
397176da3e
3
ui/jquery.ui.accordion.js
vendored
3
ui/jquery.ui.accordion.js
vendored
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user