We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 719d6e0 commit eee430fCopy full SHA for eee430f
assets/js/_version-selector.js
@@ -192,6 +192,7 @@ class VersionSelector extends HTMLElement {
192
frag.querySelector('#selected').textContent = `${PREFIX}${this.getAttribute('selected')}`;
193
194
const pathName = location.pathname.replace(/^\/(latest|\d+\.\d+)(\/)?/, '');
195
+
196
const versionsDOMNodes = DOC_VERSIONS.map((v, idx) => v === DOC_VERSION_LATEST
197
? `<a href="/latest/${pathName}" class="latest">${PREFIX}${v}</a>`
198
: `<a href="/${v}/${pathName}">${PREFIX}${v}</a>`,
0 commit comments