Skip to content

Commit 7e37ea1

Browse files
Revert order of nightly/beta/stable
1 parent 74af1af commit 7e37ea1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/version-switcher.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ function showSwitcher(isOldVersion) {
172172
const current_doc_version = window.location.pathname.split("/")[1];
173173
const version_picker = document.createElement("select");
174174

175-
version_picker.appendChild(createOption("stable", current_doc_version === "stable"));
176-
version_picker.appendChild(createOption("beta", current_doc_version === "beta"));
177175
version_picker.appendChild(createOption("nightly", current_doc_version === "nightly"));
176+
version_picker.appendChild(createOption("beta", current_doc_version === "beta"));
177+
version_picker.appendChild(createOption("stable", current_doc_version === "stable"));
178178

179179
for (let medium = get_current_version(); medium >= 0; --medium) {
180180
const version = `1.${medium}.0`;

0 commit comments

Comments
 (0)