From 983efab94c31bb19b532e120f2f70f45f788b7c8 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 13 Feb 2023 00:46:11 +0000
Subject: [PATCH] fix: recent notes partial sorting
---
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