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 9079644 commit b417916Copy full SHA for b417916
_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