From 7cee788ae55876351207e68db6bcabcccb1753cd Mon Sep 17 00:00:00 2001 From: bruno Date: Tue, 6 Feb 2024 16:38:23 +0100 Subject: [PATCH] test history --- assets/script.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/script.js b/assets/script.js index 54181fc..dc0ec52 100644 --- a/assets/script.js +++ b/assets/script.js @@ -37,6 +37,9 @@ function handlePageResponse(data) { if (data.Page) { pageArea.innerHTML = data.Page; + if(data.PageLocation){ + history.pushState({}, "", data.PageLocation); + } } }