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 9079644 + b417916 commit ae1439eCopy full SHA for ae1439e
_javascripts/page-loader.js
@@ -17,7 +17,11 @@ function versionSelector(list) {
17
"use strict";
18
19
newVersion = list[list.selectedIndex].value;
20
- currentVersion = window.location.pathname.split("/")[2];
+ if (dk === "openshift-enterprise") {
21
+ currentVersion = window.location.pathname.split("/")[2];
22
+ } else if (dk === "openshift-origin") {
23
+ currentVersion = window.location.pathname.split("/")[1];
24
+ }
25
26
let baseUrl = urlMappings[dk];
27
0 commit comments