Skip to content

Commit 097621a

Browse files
ENGCOM-6224: Fixing #24807 - Changed accordion transition method when closing #24994
2 parents 56d6233 + aec83b7 commit 097621a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/web/mage/accordion.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,14 @@ define([
8282
* @private
8383
*/
8484
_closeOthers: function () {
85+
var self = this;
86+
8587
if (!this.options.multipleCollapsible) {
86-
this._super();
88+
$.each(this.collapsibles, function () {
89+
$(this).on('beforeOpen', function () {
90+
self.collapsibles.not(this).collapsible('deactivate');
91+
});
92+
});
8793
}
8894
$.each(this.collapsibles, function () {
8995
$(this).on('beforeOpen', function () {

0 commit comments

Comments
 (0)