mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Accordion: Remove disabled check in _keydown, covered by _bind
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user