Avoid route change scroll when clicking on links

sapper-noscroll here for the rescue, keeps the scroll position and loads the new page content
This commit is contained in:
2020-03-06 11:06:35 +01:00
parent 78a85bbf0b
commit debf8bb747
7 changed files with 11 additions and 8 deletions

View File

@@ -17,7 +17,7 @@
<li>
<ul>
<li>
<LinkTranslate href="/credits" text="Credits" rel="prefetch" />
<LinkTranslate href="/credits" text="Credits" rel="prefetch" noScroll="true" />
</li>
{#if $site}
<li class="instagram">