Accordion: Fix line length issues

Ref gh-1690
This commit is contained in:
Alexander Schmitz 2016-03-30 23:43:59 -04:00 committed by Scott González
parent adbd694a3e
commit ca3d4511c4

View File

@ -239,7 +239,8 @@ return $.widget( "ui.accordion", {
this._processPanels(); this._processPanels();
// Was collapsed or no panel // Was collapsed or no panel
if ( ( options.active === false && options.collapsible === true ) || !this.headers.length ) { if ( ( options.active === false && options.collapsible === true ) ||
!this.headers.length ) {
options.active = false; options.active = false;
this.active = $(); this.active = $();