From ad7b8f6d75725d0ed24c024a9b1842e6497750ec Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Fri, 19 Jun 2020 19:26:22 +0200
Subject: [PATCH] change assign to replace

---
 assets/js/router.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assets/js/router.js b/assets/js/router.js
index bab8d472..62b178b8 100644
--- a/assets/js/router.js
+++ b/assets/js/router.js
@@ -25,7 +25,7 @@ function GetShortcutDestination() {
 
 function RedirectTo(newLocation) {
     setTimeout(function() {
-        window.location.assign(newLocation);
+        window.location.replace(newLocation);
     }, 1);
 }
 
-- 
GitLab