Message ID | 20220414113327.176534-1-foss+yocto@0leil.net |
---|---|
State | Accepted |
Commit | 05065fa1f3855e8b7d9e8af0502b4ae402273400 |
Headers | show |
Series | [1/3] docs: sphinx-static: switchers.js.in: remove duplicate for outdated versions | expand |
diff --git a/documentation/sphinx-static/switchers.js.in b/documentation/sphinx-static/switchers.js.in index 5d3a4d793..e7ef2ce5f 100644 --- a/documentation/sphinx-static/switchers.js.in +++ b/documentation/sphinx-static/switchers.js.in @@ -72,9 +72,6 @@ by https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/run-docs-b buf.push('<option value="' + version + '" selected="selected">' + title + '</option>'); else buf.push('<option value="' + version + '">' + title + '</option>'); - - if (version != current_version) - buf.push('<option value="' + current_version + '" selected="selected">' + current_version + '</option>'); } else { buf.push('<option value="' + version + '">' + title + '</option>'); }