Fix documentation version warning for 'series' page (#29647)

This commit is contained in:
Arnout Engelen 2020-09-22 19:50:26 +02:00 committed by GitHub
parent d556be77b4
commit 48a7306109
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,6 +99,8 @@ jQuery(document).ready(function ($) {
$('#samePageLink').html('<a href="' + insteadPage + '">Click here to go to the same page on the ' + instead.latest + ' version of the docs.</a>');
}
});
} else if (version == series) {
// The series already points to the latest version in that series
} else if (version != seriesInfo.latest) {
showWarning(
site,