From 5c172e0694ecd53f45bbc3805e7afd8408af521a Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 19 Oct 2024 14:09:53 -0700 Subject: [PATCH] chore: only query on search --- package-lock.json | 4 ++-- package.json | 2 +- src/assets/scripts/index.js | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index b421dd81..70e609ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "1.5.2", + "version": "1.5.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "1.5.2", + "version": "1.5.3", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index 4a1f3d7d..44ba07c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "1.5.2", + "version": "1.5.3", "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 2680a363..62048a36 100644 --- a/src/assets/scripts/index.js +++ b/src/assets/scripts/index.js @@ -194,8 +194,6 @@ window.addEventListener('load', () => { } } - loadSearchIndex().then(loadedResultsById => resultsById = loadedResultsById) - const getSelectedTypes = () => Array.from($typeCheckboxes) .filter(checkbox => checkbox.checked)