Fix docs version switcher to display latest first

Changes the old sorting which displays master then the oldest to newest, so that it would display master followed by the newest version
This commit is contained in:
BK
2022-05-15 14:08:33 -07:00
committed by GitHub
parent b1223cd6cc
commit f2a32ae0f6

View File

@@ -500,6 +500,7 @@
}
addVersionLink('master');
versions.reverse();
Array.prototype.forEach.call(versions, function (version, i) {
addVersionLink(version);
});