| quartz/components/scripts/search.inline.ts | ●●●●● patch | view | raw | blame | history |
quartz/components/scripts/search.inline.ts
@@ -110,6 +110,7 @@ } function shortcutHandler(e: HTMLElementEventMap["keydown"]) { if (!container?.classList.contains("active")) return if (e.key === "k" && (e.ctrlKey || e.metaKey) && !e.shiftKey) { e.preventDefault() const searchBarOpen = container?.classList.contains("active")