From 6b8e03fb8e57d91e5572270f54bf5c9a51fd9f15 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Sun, 17 Sep 2023 22:01:02 +0300 Subject: Cleaned code. Fixed not able to select popup buttons with keyboard https://codeberg.org/LibRedirect/browser_extension/issues/106 --- src/pages/popup/switches.pug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pages/popup/switches.pug') diff --git a/src/pages/popup/switches.pug b/src/pages/popup/switches.pug index 91fbe72e..5037bac2 100644 --- a/src/pages/popup/switches.pug +++ b/src/pages/popup/switches.pug @@ -1,10 +1,10 @@ each _, service in services - div(class=service + " some-block hide") + div(class=`${service} block hide`) a(class="title" href=services[service].url) if services[service].imageType == 'svgMono' img(class='dark' src=`/assets/images/${service}-icon.svg`) img(class='light' src=`/assets/images/${service}-icon-light.svg`) else img(src=`/assets/images/${service}-icon.${services[service].imageType}`) - h4=services[service].name - input(class=service + "-enabled" type="checkbox" aria-label=`${services[service].name} toggle`) \ No newline at end of file + label=services[service].name + input(class=`${service}-enabled` type="checkbox" aria-label=`${services[service].name} toggle`) \ No newline at end of file -- cgit 1.4.1