From d93735b58c3174d8ad79ef5cff7787b3ec825658 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Tue, 29 Nov 2022 10:42:49 +0900
Subject: feat: Move LocaleSwitcher out of tabbing

---
 code/app/src/lib/components/locale-switcher.svelte | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'code/app/src/lib/components/locale-switcher.svelte')

diff --git a/code/app/src/lib/components/locale-switcher.svelte b/code/app/src/lib/components/locale-switcher.svelte
index 19624a5..b0230f8 100644
--- a/code/app/src/lib/components/locale-switcher.svelte
+++ b/code/app/src/lib/components/locale-switcher.svelte
@@ -10,6 +10,7 @@
     import Cookies from "js-cookie";
 
     export let _pwKey: string | undefined = undefined;
+    export let tabindex: number | undefined = undefined;
 
     async function switch_locale(newLocale: Locales) {
         if (!newLocale || $locale === newLocale) return;
@@ -42,6 +43,7 @@
 </script>
 
 <select
+    {tabindex}
     use:pwKey={_pwKey}
     on:change={on_change}
     class="mt-1 mr-1 block border-none py-2 pl-3 pr-10 text-base rounded-md right-0 absolute focus:outline-none focus:ring-teal-500 sm:text-sm"
-- 
cgit v1.3

