From e482fa10970fd6a0c1c0ec836db84ba4187bc8f7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 06 Apr 2023 22:06:01 +0000
Subject: [PATCH] fix: graph and tooltip sometimes not showing
---
assets/js/router.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/assets/js/router.js b/assets/js/router.js
index b2b6d21..c29ab77 100644
--- a/assets/js/router.js
+++ b/assets/js/router.js
@@ -3,7 +3,7 @@
navigate,
prefetch,
router,
-} from "https://unpkg.com/million@1.11.3/dist/router.mjs"
+} from "https://unpkg.com/million@1.11.5/dist/router.mjs"
export const attachSPARouting = (init, rerender) => {
// Attach SPA functions to the global Million namespace
@@ -15,7 +15,6 @@
}
const render = () => requestAnimationFrame(rerender)
-
window.addEventListener("DOMContentLoaded", () => {
apply((doc) => init(doc))
init()
--
Gitblit v1.10.0