Skip to content

Commit

Permalink
Merge branch 'stage' into mwpw-151392-swc-version
Browse files Browse the repository at this point in the history
  • Loading branch information
mirafedas committed Aug 6, 2024
2 parents 061490e + 94b5b91 commit 4e63b9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions libs/blocks/caas-config/caas-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ const defaultOptions = {
},
detailsTextOption: {
default: 'Default',
createdDate: 'Created Date',
modifiedDate: 'Modified Date',
},
cardHoverEffect: {
Expand Down
5 changes: 4 additions & 1 deletion libs/blocks/modal/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ export async function getModal(details, custom) {

if (!dialog.classList.contains('curtain-off')) {
document.body.classList.add('disable-scroll');
const curtain = createTag('div', { class: 'modal-curtain is-open' });
const curtain = createTag('div', {
class: 'modal-curtain is-open',
'daa-ll': `${analyticsEventName}:modalClose:curtainClose`,
});
curtain.addEventListener('click', (e) => {
if (e.target === curtain) closeModal(dialog);
});
Expand Down

0 comments on commit 4e63b9b

Please sign in to comment.