1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Fixed tooltip on logo lost on instant navigation

This commit is contained in:
squidfunk 2024-10-15 09:54:31 +02:00
parent 0418a22a5a
commit 649abd2ff8
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
4 changed files with 10 additions and 10 deletions

View File

@ -249,7 +249,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.525ec568.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.83f73b43.min.js' | url }}"></script>
{% for script in config.extra_javascript %}
{{ script | script_tag }}
{% endfor %}

View File

@ -225,10 +225,6 @@ const control$ = merge(
...getComponentElements("dialog")
.map(el => mountDialog(el, { alert$ })),
/* Header */
...getComponentElements("header")
.map(el => mountHeader(el, { viewport$, header$, main$ })),
/* Color palette */
...getComponentElements("palette")
.map(el => mountPalette(el)),
@ -264,6 +260,10 @@ const content$ = defer(() => merge(
: EMPTY
),
/* Header */
...getComponentElements("header")
.map(el => mountHeader(el, { viewport$, header$, main$ })),
/* Header title */
...getComponentElements("header-title")
.map(el => mountHeaderTitle(el, { viewport$, header$ })),