Fix some missing smooth scroll function syntax
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
<div class="poster">
|
||||
{#if image}
|
||||
<a href="/shop/poster-{location.slug}" on:click={() => smoothScroll('poster', false)} sveltekit:noscroll sveltekit:prefetch>
|
||||
<a href="/shop/poster-{location.slug}" on:click={() => smoothScroll({ hash: 'poster', changeHash: false })} sveltekit:noscroll sveltekit:prefetch>
|
||||
<Image
|
||||
id={image.id}
|
||||
sizeKey="product"
|
||||
|
||||
Reference in New Issue
Block a user