Skip to content

Commit

Permalink
Fix confirmation modals not being shown in modals
Browse files Browse the repository at this point in the history
  • Loading branch information
ffont committed Nov 8, 2023
1 parent 1cad92f commit e6504bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions freesound/static/bw-frontend/src/utils/initHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ const initializeStuffInContainer = (container, bindModals, activateModals) => {
bindFollowTagsButtons(container);
prepareAsyncSections(container);

// Bind modals
bindConfirmationModalElements(container); // Confirmation modals are also binded as they can work inside another modal

// Bind other modals
if (bindModals === true){
bindDefaultModals(container);
bindConfirmationModalElements(container);
bindRemixGroupModals(container);
bindBookmarkSoundModals(container);
bindUserAnnotationsModal(container);
Expand Down

0 comments on commit e6504bb

Please sign in to comment.