Skip to content

Commit

Permalink
Fixed displaying "Older Versions" version
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon committed Jul 4, 2024
1 parent 63d6360 commit b2107fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ $(document).ready(function() {
const allVersions = [...document.querySelectorAll('.switcher__list .versions dd')];
const olderVersions = document.querySelector('#older-versions');

if (eolVersions.includes(branchName)) {
if (eolVersions.length > 0) {
olderVersions.hidden = false;
}

Expand Down

0 comments on commit b2107fd

Please sign in to comment.