Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Commit

Permalink
Fix tab focus grabbing link wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
TehNut committed May 4, 2023
1 parent 1907c88 commit e2a28c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/view/Default.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@
{#if game}
<button disabled={!update} class="btn">{update ? $_("button.update_needed") : $_("button.update_not_needed")}</button>
{:else}
<a use:link href="/download">
<a use:link href="/download" tabindex="-1">
<button class="btn">{$_("button.download")}</button>
</a>
{/if}
{/await}
<div class="flex items-center gap-4">
<a href="/settings" use:link>
<a href="/settings" use:link tabindex="-1">
<button class="btn w-fit"><Icon icon={faCog} class="icon icon-lg" /></button>
</a>
<a href="https://github.com/TehNut" target="_blank">
<a href="https://github.com/TehNut" target="_blank" tabindex="-1">
<button class="btn w-fit"><Icon icon={faGithub} class="icon icon-lg" /></button>
</a>
</div>
Expand Down

0 comments on commit e2a28c7

Please sign in to comment.