diff options
Diffstat (limited to 'src/routes/tools')
| -rw-r--r-- | src/routes/tools/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/tools/[tool]/+page.svelte | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/tools/+page.svelte b/src/routes/tools/+page.svelte index 4014c58f..56ef8a10 100644 --- a/src/routes/tools/+page.svelte +++ b/src/routes/tools/+page.svelte @@ -15,7 +15,7 @@ <div class="card"> <div class="tool-grid"> {#each Object.keys(tools).filter((t) => t !== 'default' && !tools[t].hidden) as t} - <a href={root(`/tools/${tools[t].id}`)} on:click={() => (tool = t)}> + <a href={root(`/tools/${tools[t].id}`)} onclick={() => (tool = t)}> <div class="tool-grid-tool card"> <span class="title"> {tools[t].name()} diff --git a/src/routes/tools/[tool]/+page.svelte b/src/routes/tools/[tool]/+page.svelte index 4d8dc16e..68eb0c07 100644 --- a/src/routes/tools/[tool]/+page.svelte +++ b/src/routes/tools/[tool]/+page.svelte @@ -47,7 +47,7 @@ <blockquote style="margin: 0 0 0 1.5rem;"> Did you mean "<a href={root(`/tools/${tools[suggestion].id}`)} - on:click={() => (tool = suggestion)} + onclick={() => (tool = suggestion)} style={suggestion === '...' ? 'pointer-events: none; color: inherit;' : ''} > {suggestion === '...' ? '...' : tools[suggestion].name()}</a |