We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7e65a1 + e3c2471 commit ed9c9cbCopy full SHA for ed9c9cb
_javascripts/page-loader.js
@@ -18,10 +18,11 @@ function versionSelector(list) {
18
"use strict";
19
20
newVersion = list[list.selectedIndex].value;
21
- if (dk === "openshift-enterprise") {
22
- currentVersion = window.location.pathname.split("/")[2];
23
- } else if (dk === "openshift-origin") {
+
+ if (dk === "openshift-origin") {
24
currentVersion = window.location.pathname.split("/")[1];
+ } else {
25
+ currentVersion = window.location.pathname.split("/")[2];
26
}
27
28
let baseUrl = urlMappings[dk];
0 commit comments