mirror of
https://github.com/samsonjs/spirit-tracker.git
synced 2026-03-25 09:25:51 +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", () => {
|
||||
const last = sessionStorage.getItem("viz:lastRoute");
|
||||
if (last && last !== location.hash) location.hash = last;
|
||||
else location.hash = "#/";
|
||||
location.hash = "#/";
|
||||
});
|
||||
|
||||
const rerender = async () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue