When going back in history, the Accordion without any panel active is still considered as in its "initial state".
});
var $initActive = this.$element.find('.is-active').children('[data-tab-content]');
+ // Remember if we already set up the initial state of the Accordion as it
+ // gives additional privileges in the Accordion methods (like opening
+ // multiple panels even with the "multiExpand" option is disabled)
+ // TODO: refactor and clean this
this.firstTimeInit = true;
if ($initActive.length) {
// Save up the initial hash to return to it later when going back in history
}
this._events();
+ this.firstTimeInit = false;
}
/**