mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 01:10:58 +01:00
fix: Version selector should be consistent with drop-down
Use the presentational `title` value like the drop-down does; not the `version` value used to match the URL (version subdirectory).
This commit is contained in:
parent
47659c24d7
commit
48727db010
@ -61,7 +61,7 @@ export function renderVersionSelector(versions: Version[]): HTMLElement {
|
||||
return (
|
||||
<div class="md-version">
|
||||
<span class="md-version__current">
|
||||
{active.version}
|
||||
{active.title}
|
||||
</span>
|
||||
<ul class="md-version__list">
|
||||
{versions.map(version => (
|
||||
|
Loading…
Reference in New Issue
Block a user