Skip to content

Commit

Permalink
Update libs/blocks/modal/modal.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vgoodric authored Nov 5, 2024
1 parent a2af94d commit c59d6e7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libs/blocks/modal/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,7 @@ export async function getModal(details, custom) {
closeModal(dialog);
}
});

const config = getConfig();

decorateSectionAnalytics(dialog, `${id}-modal`, config);

decorateSectionAnalytics(dialog, `${id}-modal`, getConfig());
dialog.append(close);
document.body.append(dialog);
dialogLoadingSet.delete(id);
Expand Down

0 comments on commit c59d6e7

Please sign in to comment.