mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed document observable not emitting current document
This commit is contained in:
parent
6c2e0290e1
commit
de46c4153b
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -249,7 +249,7 @@
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/bundle.8fd75fb4.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.cee5e008.min.js' | url }}"></script>
|
||||
{% for script in config.extra_javascript %}
|
||||
{{ script | script_tag }}
|
||||
{% endfor %}
|
||||
|
@ -233,7 +233,7 @@ function inject(next: Document): Observable<Document> {
|
||||
}
|
||||
}),
|
||||
ignoreElements(),
|
||||
endWith(next)
|
||||
endWith(document)
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user