From af9ddadc4de513f2bbaf75f70079970215ed6406 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 14 Oct 2023 20:45:56 +0000
Subject: [PATCH] fix(css): import base from custom instead of the other way around (#536)
---
quartz/components/scripts/spa.inline.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/components/scripts/spa.inline.ts b/quartz/components/scripts/spa.inline.ts
index bd22608..fc5aa74 100644
--- a/quartz/components/scripts/spa.inline.ts
+++ b/quartz/components/scripts/spa.inline.ts
@@ -92,7 +92,7 @@
if (typeof window !== "undefined") {
window.addEventListener("click", async (event) => {
const { url } = getOpts(event) ?? {}
- if (!url) return
+ if (!url || event.ctrlKey || event.metaKey) return
event.preventDefault()
try {
navigate(url, false)
--
Gitblit v1.10.0