Skip to content

Commit

Permalink
Fixed invalid version selector URL
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Feb 25, 2021
1 parent 1aacca3 commit f40112e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 41 deletions.
32 changes: 0 additions & 32 deletions material/assets/javascripts/bundle.4e3fea51.min.js

This file was deleted.

7 changes: 0 additions & 7 deletions material/assets/javascripts/bundle.4e3fea51.min.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion material/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ <h1>{{ page.title | d(config.site_name, true)}}</h1>
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.4e3fea51.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.3981fc68.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion src/assets/javascripts/components/header/title/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export function mountHeaderTitle(
/* Render version selector */
const config = configuration()
if (config.version?.provider === "mike")
requestJSON<Version[]>(new URL("../versions.json", config.base))
requestJSON<Version[]>(new URL("versions.json", config.base))
.subscribe(versions => {
const topic = getElementOrThrow(".md-header__topic", el)
topic.appendChild(renderVersionSelector(versions))
Expand Down

0 comments on commit f40112e

Please sign in to comment.