From 952d6cb3dd63bb50056198c1d7782314f8976bbf Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 21 Aug 2023 01:08:44 +0000
Subject: [PATCH] fix: nav event with spa off, anchor nav refresh page

---
 quartz/bootstrap-cli.mjs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/quartz/bootstrap-cli.mjs b/quartz/bootstrap-cli.mjs
index f7f5504..9bda25f 100755
--- a/quartz/bootstrap-cli.mjs
+++ b/quartz/bootstrap-cli.mjs
@@ -423,6 +423,7 @@
 
     const rebuild = (clientRefresh) => {
       timeoutIds.forEach((id) => clearTimeout(id))
+      timeoutIds.clear()
       timeoutIds.add(setTimeout(() => build(clientRefresh), 250))
     }
 

--
Gitblit v1.10.0