diff options
-rw-r--r-- | documentation/sphinx-static/switchers.js.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/sphinx-static/switchers.js.in b/documentation/sphinx-static/switchers.js.in index 1e523a188f..8c016859bc 100644 --- a/documentation/sphinx-static/switchers.js.in +++ b/documentation/sphinx-static/switchers.js.in | |||
@@ -233,7 +233,7 @@ by https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/run-docs-b | |||
233 | $.each(switcher_versions, function(version, vers_data) { | 233 | $.each(switcher_versions, function(version, vers_data) { |
234 | var series = version.substr(0, 3); | 234 | var series = version.substr(0, 3); |
235 | if (series == current_series) { | 235 | if (series == current_series) { |
236 | if (version != release) { | 236 | if (version != release && release.endsWith('.999') == false) { |
237 | $('#outdated-warning').html('This document is for outdated version ' + release + ', you should select the latest release version in this series, ' + version + '.'); | 237 | $('#outdated-warning').html('This document is for outdated version ' + release + ', you should select the latest release version in this series, ' + version + '.'); |
238 | $('#outdated-warning').css('padding', '.5em'); | 238 | $('#outdated-warning').css('padding', '.5em'); |
239 | return false; | 239 | return false; |