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 authored and GitHub committed 2022-05-15 14:08:33 -07:00
1 parent b1223cd6cc
commit f2a32ae0f6
1 file changed
+1
+1
View File
@@ -500,6 +500,7 @@
} }
addVersionLink('master'); addVersionLink('master');
versions.reverse();
Array.prototype.forEach.call(versions, function (version, i) { Array.prototype.forEach.call(versions, function (version, i) {
addVersionLink(version); addVersionLink(version);
}); });