Close all other navbar dropdowns when different one opens (fixes #59)

This commit is contained in:
daudix
2024-08-25 02:01:22 +03:00
parent 813f0cdf68
commit 3499501b44
2 changed files with 22 additions and 0 deletions

View File

@ -100,6 +100,10 @@
{%- set scripts = scripts | concat(with=["theme-switcher.js"]) %}
{%- endif %}
{%- if config.show_theme_switcher or config.languages | length > 0 %}
{%- set scripts = scripts | concat(with=["details.js"]) %}
{%- endif %}
{%- if config.extra.scripts %}
{%- set scripts = scripts | concat(with=config.extra.scripts) %}
{%- endif %}