diff --git a/assets/js/router.js b/assets/js/router.js
index 7bc8757c7a0d83c6cdac330732dda7a30de7cb3e..bab8d472a61f1669263a9b05700c2026d771c6b0 100644
--- a/assets/js/router.js
+++ b/assets/js/router.js
@@ -24,7 +24,9 @@ function GetShortcutDestination() {
 }
 
 function RedirectTo(newLocation) {
-    document.location.replace(newLocation);
+    setTimeout(function() {
+        window.location.assign(newLocation);
+    }, 1);
 }
 
 // Pick the shortcut link destination from URL, like: `category:subcategory:card-name`