refactor: replace IIFEs with modern JavaScript

This commit is contained in:
2026-04-20 16:43:09 +02:00
parent f20e9d626e
commit 0745f0e505
3 changed files with 23 additions and 39 deletions

View File

@@ -17,9 +17,7 @@ templ Pending(id int) {
</div>
</div>
<script>
setTimeout(function() {
window.location.reload()
}, 10000)
setTimeout(() => window.location.reload(), 10000)
</script>
}
}