chore: change for workflow

This commit is contained in:
Florian Bouillon 2025-04-22 16:14:25 +02:00
parent 974335808d
commit c9a8165b21
Signed by: Florian Bouillon
GPG Key ID: 7676FF78F3BC40EC

View File

@ -18,7 +18,7 @@ import Picture from 'components/global/Picture.astro'
</MainLayout>
<script>
(document.querySelector('button.back_button') as HTMLButtonElement).addEventListener('click', () => {
document.querySelector<HTMLButtonElement>('button.back_button')?.addEventListener('click', () => {
history.back()
})
</script>