From 839bb9a808ca752000962ae0fd001b32d8ed6933 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 19 Oct 2024 21:32:21 -0700 Subject: [PATCH] chore: search cleanup --- package-lock.json | 4 ++-- package.json | 2 +- src/assets/scripts/index.js | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e6ccf0d6..e1427d18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "1.5.18", + "version": "1.5.19", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "1.5.18", + "version": "1.5.19", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index b0bdbdc8..54ebcbe2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "1.5.18", + "version": "1.5.19", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "engines": { diff --git a/src/assets/scripts/index.js b/src/assets/scripts/index.js index b357cbd6..8c25e6a0 100644 --- a/src/assets/scripts/index.js +++ b/src/assets/scripts/index.js @@ -23,6 +23,7 @@ window.addEventListener("load", () => { }); const $form = document.querySelector(".search__form"); + const $fallback = document.querySelector(".search__form--fallback"); const $input = document.querySelector(".search__form--input"); const $results = document.querySelector(".search__results"); const $loadMoreButton = document.querySelector(".search__load-more");