Skip to content

Commit 8be2fb7

Browse files
authored
Merge pull request #68235 from peterroth/fix-okd-version-switcher
[OKD] GH #68234 Fix OKD version switcher
2 parents 9b9008a + b171c72 commit 8be2fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_javascripts/page-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function versionSelector(list) {
2626
baseUrl = "https://docs.openshift.com/enterprise/";
2727
}
2828

29-
if (dk === "openshift-enterprise" && currentVersion.charAt(0) !== newVersion.charAt(0)){
29+
if ((dk === "openshift-enterprise" || dk === "openshift-origin") && currentVersion.charAt(0) !== newVersion.charAt(0)){
3030
fileRequested = "/welcome/index.html";
3131
} else {
3232
const versionIndex = window.location.pathname.lastIndexOf(currentVersion) + currentVersion.length;

0 commit comments

Comments
 (0)