diff options
| author | Adam Soltys <[email protected]> | 2023-01-25 23:01:55 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-25 23:01:55 -0800 |
| commit | 06d21d381123f5da01bc92aaff7c185f62e754ca (patch) | |
| tree | 071975ffa4c30f81a7a25b78b4cfd5f85fdf7ea5 /src/components/Password.svelte | |
| parent | d5b26e787a0c4c1b0a757f58b537f0a890cb9133 (diff) | |
| download | coinos-ui-06d21d381123f5da01bc92aaff7c185f62e754ca.tar.gz coinos-ui-06d21d381123f5da01bc92aaff7c185f62e754ca.zip | |
sveltekit 1.0
Diffstat (limited to 'src/components/Password.svelte')
| -rw-r--r-- | src/components/Password.svelte | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Password.svelte b/src/components/Password.svelte index e21bdad1..95a52cac 100644 --- a/src/components/Password.svelte +++ b/src/components/Password.svelte @@ -1,6 +1,6 @@ <script> import { Icon } from '$comp'; - import { failure, post } from '$lib/utils'; + import { focus, failure, post } from '$lib/utils'; import { password as pw, passwordPrompt } from '$lib/store'; export let user; @@ -35,7 +35,7 @@ class="bg-primary" bind:value={password} autocapitalize="none" - autofocus + use:focus /> {:else} <input @@ -45,7 +45,7 @@ class="bg-primary" bind:value={password} autocapitalize="none" - autofocus + use:focus /> {/if} <button |
