Skip to content

Commit 260a6ca

Browse files
authored
IBX-10138: Not animated arrow in the drop-down in the share dialog (#1664)
1 parent be74514 commit 260a6ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bundle/Resources/public/js/scripts/core/popup.menu.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
popupMenuItem.addEventListener(
3636
'click',
3737
(event) => {
38-
this.popupMenuElement.classList.add(CLASS_POPUP_MENU_HIDDEN);
38+
this.handleToggle();
3939
this.onItemClick(event);
4040
},
4141
false,
@@ -58,7 +58,7 @@
5858
item.querySelector('.ibexa-popup-menu__item-content').addEventListener(
5959
'click',
6060
(event) => {
61-
this.popupMenuElement.classList.add(CLASS_POPUP_MENU_HIDDEN);
61+
this.handleToggle();
6262
this.onItemClick(event);
6363
},
6464
false,
@@ -94,7 +94,7 @@
9494
return;
9595
}
9696

97-
this.popupMenuElement.classList.add(CLASS_POPUP_MENU_HIDDEN);
97+
this.handleToggle();
9898
}
9999

100100
updatePosition() {

0 commit comments

Comments
 (0)