From 173ec240d2ed5b25f18ef42823334ae800b3527d Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 21 Aug 2023 00:50:56 +0000
Subject: [PATCH] fix: jump to anchor on deployed site triggering spa refresh
---
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