From 5ba72708f52b54ed1a4779f5c05b15a0e3f84d00 Mon Sep 17 00:00:00 2001
From: paidge <paidge_cs@hotmail.com>
Date: Mon, 24 Jan 2022 14:30:27 +0100
Subject: [PATCH] make btnTheme focusable

---
 components/btn/Theme.vue |  3 ++-
 pages/favoris.vue        | 15 ---------------
 2 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/components/btn/Theme.vue b/components/btn/Theme.vue
index 0c46a7c..aeda1e5 100644
--- a/components/btn/Theme.vue
+++ b/components/btn/Theme.vue
@@ -7,7 +7,8 @@
 			class="switch-checkbox" />
 		<label
 			for="checkbox"
-			class="switch-label d-flex align-items-center justify-content-between position-relative mb-0">
+			class="switch-label d-flex align-items-center justify-content-between position-relative mb-0 form-control"
+			tabindex="0">
 			<span>🌙</span>
 			<span>☀️</span>
 			<div
diff --git a/pages/favoris.vue b/pages/favoris.vue
index f6735ed..5ded360 100644
--- a/pages/favoris.vue
+++ b/pages/favoris.vue
@@ -46,21 +46,6 @@ export default {
 			error: null
 		}
 	},
-	// local functions. You can use :
-	// {{ myFunction() }} in template if a value is returned
-	// - this.myFunction everywhere in the page but not in arrows functions
-	// - @event="myFunction" on Vue eventHandlers
-	// methods: {
-	//   myFunction() {
-
-	//   }
-	// },
-	// For computed values. Use {{ myComputedValue }} in the template
-	// computed: {
-	//   myComputedValue : function() {
-	//     return this.var * 3
-	//   }
-	// },
 	apollo: {
 		favoris: {
 			query: FAVORIS,
-- 
GitLab