generated from avior/template-web-astro
chore: change for workflow
This commit is contained in:
parent
974335808d
commit
c9a8165b21
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user