feat(theme-switcher): hide button if JS is disabled

This commit is contained in:
welpo
2023-08-03 00:12:00 +02:00
parent a4e48b48fd
commit 113a7f4e5d
3 changed files with 4 additions and 1 deletions

View File

@@ -64,7 +64,7 @@
{# Theme switcher #}
{%- if config.extra.theme_switcher and config.extra.theme_switcher == true -%}
<li class="theme-switcher-wrapper">
<li class="theme-switcher-wrapper js">
<div class="theme-switcher"></div>
</li>
{%- endif -%}