Fix errors from updates

This commit is contained in:
2022-09-05 19:53:10 +02:00
parent 945d7f09d7
commit 5ff82f4ee4
3 changed files with 4 additions and 3 deletions

View File

@@ -45,7 +45,7 @@
href={url} class={classes}
{target} {rel}
data-sveltekit-prefetch={url && (isExternal || isProtocol) ? null : true}
data-sveltekit-noscroll={isExternal || isProtocol ? null : true}
data-sveltekit-noscroll={isExternal || isProtocol ? 'off' : ''}
{disabled}
tabindex="0"
on:click