From 8e4c1d8397e892aa3fd01388f415fe2fb2370121 Mon Sep 17 00:00:00 2001 From: Allexit Date: Wed, 2 Nov 2016 17:08:22 +0200 Subject: [PATCH] New testing --- js/main.js | 1 + ts/main.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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);