aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/Pin.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Pin.svelte b/src/components/Pin.svelte
index 8f33a7f3..854b9de0 100644
--- a/src/components/Pin.svelte
+++ b/src/components/Pin.svelte
@@ -5,7 +5,7 @@
let pinCode = [];
let pinInput;
- $: pinInput && tick().then(pinInput && pinInput.focusFirstInput);
+ $: pinCode && pinInput && tick().then(pinInput && pinInput.focusNextEmptyInput());
$: pinCode.length > 5 && ($pin = pinCode.join(''));
</script>