Ensure top window is redirected - not the frame

This commit is contained in:
Julien Nahum 2024-06-27 16:23:55 +02:00
parent 570f943bd1
commit 6428cd7d0d
2 changed files with 2 additions and 2 deletions

View File

@ -489,7 +489,7 @@ document.addEventListener("DOMContentLoaded", function () {
if (event.data?.form?.redirect_target_url) {
// redirect to target URL
window.location.href = event.data.form.redirect_target_url
window.top.location.href = event.data.form.redirect_target_url
}
})
})

File diff suppressed because one or more lines are too long