Skip to content

Commit

Permalink
revert: faulty cache
Browse files Browse the repository at this point in the history
  • Loading branch information
boehs committed Jan 11, 2023
1 parent c40782b commit 65ee255
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions html/_public/ts/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
document.getElementById('is')
.onclick = async ({target}) =>
(target as HTMLElement).textContent = (await (await fetch('/api/is')).text())

0 comments on commit 65ee255

Please sign in to comment.