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"
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
icon="globe"
|
||||
label="Discover locations"
|
||||
alt="Globe"
|
||||
on:click={() => smoothScroll('locations')}
|
||||
on:click={() => smoothScroll({ hash: 'locations' })}
|
||||
/>
|
||||
</li>
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user