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

Merge pull request #2401 from polarathene/fix/version-selector-use-title-for-ui

fix(Version Selector): Current version should be consistent with drop-down listed version
This commit is contained in:
Martin Donath 2021-03-09 21:46:05 +01:00 committed by GitHub
commit 781e00f78d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 => (