From eb302c05b8044ccbe862a962268201db58b4423e Mon Sep 17 00:00:00 2001 From: Aaron Pham <29749331+aarnphm@users.noreply.github.com> Date: Tue, 23 Jan 2024 13:53:28 -0500 Subject: [PATCH] fix(search): update no results to be `a` (#721) Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com> --- quartz/components/scripts/search.inline.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quartz/components/scripts/search.inline.ts b/quartz/components/scripts/search.inline.ts index ce1a28329..df21f6b35 100644 --- a/quartz/components/scripts/search.inline.ts +++ b/quartz/components/scripts/search.inline.ts @@ -239,10 +239,10 @@ document.addEventListener("nav", async (e: unknown) => { removeAllChildren(results) if (finalResults.length === 0) { - results.innerHTML = `` + ` } else { results.append(...finalResults.map(resultToHTML)) }