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.
1 parent 1c88f88 commit e3c2471Copy full SHA for e3c2471
_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