From be5616d4ca673ec5aa7c960645df14ef801c2daa Mon Sep 17 00:00:00 2001 From: Neil Dewhurst Date: Tue, 3 Oct 2023 15:19:24 +0100 Subject: [PATCH] Revert "Use assign to preserve back button behavior" This reverts commit bbcb190b7bc7f71726cae4a2881f0656ffdb8f67. --- src/js/01-nav.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/01-nav.js b/src/js/01-nav.js index 6727828d..7dc69281 100644 --- a/src/js/01-nav.js +++ b/src/js/01-nav.js @@ -66,7 +66,7 @@ window.ga('send', 'event', 'version-select', 'From: ' + current + ';To:' + next + ';') } - document.location.assign(url) + document.location.replace(url) }) }