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
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
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 -%}