From df900903e1a4282514c09bd4f55ef4bc952af541 Mon Sep 17 00:00:00 2001 From: Joshua Laymon Date: Sun, 7 Sep 2025 17:55:59 +0000 Subject: [PATCH] Update web/templates/search.html --- web/templates/search.html | 65 ++------------------------------------- 1 file changed, 2 insertions(+), 63 deletions(-) diff --git a/web/templates/search.html b/web/templates/search.html index 5b6267a..1d01a9b 100644 --- a/web/templates/search.html +++ b/web/templates/search.html @@ -9,34 +9,6 @@
- - - -
- - -
-

How to Use Search Operators

-
@@ -225,22 +197,6 @@ }); }); - // Help panel toggle (unchanged) - document.addEventListener('click', function(e){ - const btn = e.target.closest('.help-toggle'); - if (btn) { - const panel = document.querySelector(btn.dataset.target || '#search-help-panel'); - if (panel) panel.classList.toggle('open'); - return; - } - const panel = document.querySelector('#search-help-panel'); - if (!panel) return; - if (panel.classList.contains('open')) { - const clickedInside = panel.contains(e.target) || e.target.closest('.help-toggle'); - if (!clickedInside) panel.classList.remove('open'); - } - }); - // =============================== // No-results: show a random funny illustration // =============================== @@ -254,7 +210,7 @@ `It’s like looking for a matching sock. You find five that are “close enough,” but never the one you actually need.`, `It’s like running into the store for peanut butter. You leave with bread, bananas, cereal, and gum—somehow no peanut butter.`, `It feels like searching for your car keys when you’re late. You check the counter, pockets, and finally… the fridge. Next to the milk.`, - `It’s like walking around the house holding your phone in the air, trying to catch a Wi‑Fi signal that appears and vanishes at random.`, + `It’s like walking around the house holding your phone in the air, trying to catch a Wi-Fi signal that appears and vanishes at random.`, `Imagine a giant library where you’re sure the book is “right here.” You scan up, down, left, right—then realize you’re in the wrong aisle.`, `It’s like following GPS: “Turn left now!” You miss it, circle the block, and the voice keeps politely “recalculating.”`, `It’s like trying to find an umbrella on a sunny day—no luck. The moment it pours, suddenly you own five.`, @@ -284,7 +240,7 @@ const today = new Date(); const ymd = today.getFullYear()*10000 + (today.getMonth()+1)*100 + today.getDate(); - // 32‑bit xorshift PRNG for a good daily seed + // 32-bit xorshift PRNG for a good daily seed function xorshift32(seed){ let x = seed | 0; x ^= x << 13; x ^= x >>> 17; x ^= x << 5; @@ -362,19 +318,6 @@