From 9a703e2083dce242901b8fa3e0f5bbe6e253de2b Mon Sep 17 00:00:00 2001 From: slothy Date: Fri, 11 Sep 2015 13:32:57 +0200 Subject: [PATCH] AUTH#1318 - Retour button remove icon --- .../templates/authentic2/login_password_form.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme-authentic2/templates/authentic2/login_password_form.html b/theme-authentic2/templates/authentic2/login_password_form.html index f5af2b3..59d1a37 100644 --- a/theme-authentic2/templates/authentic2/login_password_form.html +++ b/theme-authentic2/templates/authentic2/login_password_form.html @@ -81,10 +81,10 @@ if (parsed_referrer.hostname.includes("lesechos")) { document.location = parsed_referrer.origin; } else { - document.location = "http://www.lesechos-solutions.fr"; + document.location.href = "http://www.lesechos-solutions.fr"; } } catch(err) { - document.location = "http://www.lesechos-solutions.fr"; + document.location.href = "http://www.lesechos-solutions.fr"; } }