AUTH#1318 - Retour button test
This commit is contained in:
parent
083db9379f
commit
ee7ae18901
|
@ -79,12 +79,12 @@
|
|||
try {
|
||||
var parsed_referrer = new URL(document.referrer);
|
||||
if (parsed_referrer.hostname.includes("lesechos")) {
|
||||
document.location.href = parsed_referrer.origin;
|
||||
window.location.href = parsed_referrer.origin;
|
||||
} else {
|
||||
document.location.href = "http://www.lesechos-solutions.fr";
|
||||
window.location.href = "http://www.lesechos-solutions.fr";
|
||||
}
|
||||
} catch(err) {
|
||||
document.location.href = "http://www.lesechos-solutions.fr";
|
||||
window.location.href = "http://www.lesechos-solutions.fr";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Reference in New Issue