1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 07:30:12 +01:00

Formatting

This commit is contained in:
squidfunk 2022-05-28 13:17:29 +02:00
parent 5e442eb46f
commit 97b291664c
4 changed files with 8 additions and 6 deletions

View File

@ -214,7 +214,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.8a488aaa.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.3a4b43e5.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script>
{% endfor %}

View File

@ -137,7 +137,9 @@ export function mountAnnotation(
.pipe(
takeUntil(done$)
)
.subscribe(visible => el.toggleAttribute("data-md-visible", visible))
.subscribe(visible => {
el.toggleAttribute("data-md-visible", visible)
})
/* Track relative origin of tooltip */
push$