Skip to content

Commit 0872577

Browse files
Binding to event collapsible scroll
1 parent 620d14d commit 0872577

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/web/mage/collapsible.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ define([
6363
this.icons = true;
6464
}
6565

66-
this.element.on('dimensionsChanged',function(e) {
67-
if(e.target && e.target.classList.contains('active')) {
66+
this.element.on('dimensionsChanged', function (e) {
67+
if (e.target && e.target.classList.contains('active')) {
6868
this._scrollToTopIfVisible(e.target);
6969
}
7070
}.bind(this));

0 commit comments

Comments
 (0)