diff --git a/libs/blocks/modal/modal.js b/libs/blocks/modal/modal.js index 0baf498b0b..fb633ca346 100644 --- a/libs/blocks/modal/modal.js +++ b/libs/blocks/modal/modal.js @@ -250,6 +250,7 @@ export function delayedModal(el) { if (!delay || !display || !hash) return false; const modalOpenEvent = new Event(`${hash}:modalOpen`); el.dataset.modalHash = hash; + el.href = hash; if (display === 'pageload') { setTimeout(() => { window.location.replace(hash);