mirror of
https://github.com/samsonjs/spirit-tracker.git
synced 2026-04-27 15:07:43 +00:00
fix
This commit is contained in:
parent
023fb4f0a4
commit
b0a1aa84ae
1 changed files with 1 additions and 3 deletions
|
|
@ -356,9 +356,7 @@ export async function renderStats($app) {
|
||||||
};
|
};
|
||||||
|
|
||||||
document.getElementById("back")?.addEventListener("click", () => {
|
document.getElementById("back")?.addEventListener("click", () => {
|
||||||
const last = sessionStorage.getItem("viz:lastRoute");
|
location.hash = "#/";
|
||||||
if (last && last !== location.hash) location.hash = last;
|
|
||||||
else location.hash = "#/";
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const rerender = async () => {
|
const rerender = async () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue