New testing

This commit is contained in:
Allexit 2016-11-02 17:08:22 +02:00
parent 36fc42e94c
commit 8e4c1d8397
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ function openPage(page) {
target = ""; target = "";
} }
; ;
window.history.pushState(target, target, "/" + target + "/");
slideOpacity(function () { slideOpacity(function () {
}, 1.5); }, 1.5);
}, -1.5); }, -1.5);

View File

@ -29,7 +29,7 @@ function openPage(page: string) {
let target = page; let target = page;
if (target == "about") { target = "" }; if (target == "about") { target = "" };
//window.history.pushState(target, target, `/${target}/`); window.history.pushState(target, target, `/${target}/`);
slideOpacity(() => { slideOpacity(() => {
}, 1.5); }, 1.5);