1
0
mirror of https://github.com/Wonderfall/hugo-WonderMod.git synced 2025-04-07 09:04:00 +02:00

retain history of header link clicks

close: 
This commit is contained in:
Aditya Telange 2021-01-25 21:48:15 +05:30
parent 9e99493e69
commit 9691c41983
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

@ -48,7 +48,7 @@
if (id === "top") {
history.replaceState(null, null, " ");
} else {
history.replaceState(null, null, `#${id}`);
history.pushState(null, null, `#${id}`);
}
});
});