mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Accordion: Whitespace
This commit is contained in:
parent
019e547ed9
commit
9de1eb0a23
8
ui/jquery.ui.accordion.js
vendored
8
ui/jquery.ui.accordion.js
vendored
@ -210,7 +210,7 @@ $.widget( "ui.accordion", {
|
||||
}
|
||||
},
|
||||
|
||||
_panelKeyDown : function( event ) {
|
||||
_panelKeyDown: function( event ) {
|
||||
if ( event.keyCode === $.ui.keyCode.UP && event.ctrlKey ) {
|
||||
$( event.currentTarget ).prev().focus();
|
||||
}
|
||||
@ -254,7 +254,7 @@ $.widget( "ui.accordion", {
|
||||
|
||||
this.headers.next()
|
||||
.addClass( "ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" )
|
||||
.filter(":not(.ui-accordion-content-active)")
|
||||
.filter( ":not(.ui-accordion-content-active)" )
|
||||
.hide();
|
||||
},
|
||||
|
||||
@ -375,7 +375,7 @@ $.widget( "ui.accordion", {
|
||||
keydown: "_keydown"
|
||||
};
|
||||
if ( event ) {
|
||||
$.each( event.split(" "), function( index, eventName ) {
|
||||
$.each( event.split( " " ), function( index, eventName ) {
|
||||
events[ eventName ] = "_eventHandler";
|
||||
});
|
||||
}
|
||||
@ -556,7 +556,7 @@ $.widget( "ui.accordion", {
|
||||
|
||||
// Work around for rendering bug in IE (#5421)
|
||||
if ( toHide.length ) {
|
||||
toHide.parent()[0].className = toHide.parent()[0].className;
|
||||
toHide.parent()[ 0 ].className = toHide.parent()[ 0 ].className;
|
||||
}
|
||||
this._trigger( "activate", null, data );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user