From 65ee255500e85111a7c1b6c0ecb33ac8d6d7845a Mon Sep 17 00:00:00 2001 From: Evan Boehs Date: Tue, 10 Jan 2023 22:47:51 -0500 Subject: [PATCH] revert: faulty cache --- html/_public/ts/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/_public/ts/main.ts b/html/_public/ts/main.ts index 8bbcce2..9f32408 100644 --- a/html/_public/ts/main.ts +++ b/html/_public/ts/main.ts @@ -59,6 +59,6 @@ flowerElm.onmouseout = () => { shit() }; -(document.getElementById('is') as HTMLSpanElement) - .addEventListener('click', async ({target}) => - (target as HTMLSpanElement).textContent = (await (await fetch('/api/is')).text())) \ No newline at end of file +document.getElementById('is') + .onclick = async ({target}) => + (target as HTMLElement).textContent = (await (await fetch('/api/is')).text()) \ No newline at end of file