diff --git a/js/main.js b/js/main.js index c36654f..2628075 100644 --- a/js/main.js +++ b/js/main.js @@ -22,6 +22,7 @@ function openPage(page) { target = ""; } ; + window.history.pushState(target, target, "/" + target + "/"); slideOpacity(function () { }, 1.5); }, -1.5); diff --git a/ts/main.ts b/ts/main.ts index 60dc03c..a9c545f 100644 --- a/ts/main.ts +++ b/ts/main.ts @@ -29,7 +29,7 @@ function openPage(page: string) { let target = page; if (target == "about") { target = "" }; - //window.history.pushState(target, target, `/${target}/`); + window.history.pushState(target, target, `/${target}/`); slideOpacity(() => { }, 1.5);