Skip to content

Commit

Permalink
Update docs-nav.html (#3295)
Browse files Browse the repository at this point in the history
Co-authored-by: tonyriv3 <[email protected]>
  • Loading branch information
DjP-iX and tonyriv3 authored Nov 26, 2024
1 parent 38a0104 commit f510739
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions layouts/partials/docs-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@
} else if (path.includes('/13.0/')) {
versionButton.textContent = '13.0';
}
else if (path.includes('/25.05/')) {
versionButton.textContent = '25.05';
else if (path.includes('/25.04/')) {
versionButton.textContent = '25.04';
} else if (path.includes('/24.10/')) {
versionButton.textContent = '24.10';
} else if (path.includes('/24.04/')) {
Expand All @@ -150,7 +150,7 @@
versionButton.textContent = 'Archive';
} else {
// Default version if no specific path is matched
versionButton.textContent = '25.05';
versionButton.textContent = '25.04';
}
versionUpdated = true;
} else if (path.includes('/truecommand/')) {
Expand Down Expand Up @@ -464,8 +464,8 @@
versionButton.innerHTML = '13.0 <i class="fa fa-angle-down"></i>';
} else if (currentPath.includes('/core/13.3/')) {
versionButton.innerHTML = '13.3 <i class="fa fa-angle-down"></i>';
} else if (currentPath.includes('/scale/25.05/')) {
versionButton.innerHTML = '25.05 <i class="fa fa-angle-down"></i>';
} else if (currentPath.includes('/scale/25.04/')) {
versionButton.innerHTML = '25.04 <i class="fa fa-angle-down"></i>';
} else if (currentPath.includes('/scale/24.10/')) {
versionButton.innerHTML = '24.10 <i class="fa fa-angle-down"></i>';
} else if (currentPath.includes('/scale/24.04/')) {
Expand All @@ -476,7 +476,7 @@
versionButton.innerHTML = '22.12 <i class="fa fa-angle-down"></i>';
} else {
// Default to latest version if no specific path is matched
versionButton.innerHTML = '25.05 <i class="fa fa-angle-down"></i>';
versionButton.innerHTML = '25.04 <i class="fa fa-angle-down"></i>';
}

versionDropdown.style.display = 'none';
Expand Down

0 comments on commit f510739

Please sign in to comment.