Skip to content

Commit

Permalink
MWPW-157540: fix external modals (#2806)
Browse files Browse the repository at this point in the history
  • Loading branch information
3ch023 authored Sep 2, 2024
1 parent 42d51a0 commit 8467b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/merch/merch.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export async function openModal(e, url, offerType) {
if (/\/fragments\//.test(url)) {
const fragmentPath = url.split(/hlx.(page|live)/).pop();
modal = await openFragmentModal(fragmentPath, getModal);
} else if (/^https?:/.test(url)) {
} else {
modal = await openExternalModal(url, getModal);
}
if (modal) {
Expand Down

0 comments on commit 8467b03

Please sign in to comment.