Updated Mermaid.js to 10.7.0

This commit is contained in:
squidfunk 2024-01-24 08:20:41 +07:00
parent b6b531308e
commit f3868a6f15
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
4 changed files with 5 additions and 5 deletions

View File

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

View File

@ -69,7 +69,7 @@ let sequence = 0
*/
function fetchScripts(): Observable<void> {
return typeof mermaid === "undefined" || mermaid instanceof Element
? watchScript("https://unpkg.com/mermaid@10.6.1/dist/mermaid.min.js")
? watchScript("https://unpkg.com/mermaid@10.7.0/dist/mermaid.min.js")
: of(undefined)
}