Ensure top window is redirected - not the frame
This commit is contained in:
parent
570f943bd1
commit
6428cd7d0d
|
|
@ -489,7 +489,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||||
if (event.data?.form?.redirect_target_url) {
|
if (event.data?.form?.redirect_target_url) {
|
||||||
|
|
||||||
// redirect to 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
Loading…
Reference in New Issue