Skip to content

Commit fd409d3

Browse files
committed
test
1 parent 7f3a9c9 commit fd409d3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

_includes/quick-start-module.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ function changeVersion(ptbuild) {
143143
if(archMap[elems[i].id]) {
144144
elems[i].style.textDecoration = "";
145145
elems[i].children[0].textContent = info.title + " " + archMap[elems[i].id][1]
146-
}
147-
else {
146+
} else {
148147
elems[i].style.textDecoration = "line-through";
149148
}
150149
}
@@ -207,6 +206,8 @@ function selectedOption(option, selection, category) {
207206
}
208207
} else if (category == "ptbuild") {
209208
changeVersion(opts.ptbuild);
209+
//make sure unsupported platforms are disabled
210+
disableUnsupportedPlatforms(opts.os);
210211
}
211212
commandMessage(buildMatcher());
212213
if (category === "os") {

assets/quick-start-module.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ function selectedOption(option, selection, category) {
207207
}
208208
} else if (category == "ptbuild") {
209209
changeVersion(opts.ptbuild);
210+
//make sure unsupported platforms are disabled
211+
disableUnsupportedPlatforms(opts.os);
210212
}
211213
commandMessage(buildMatcher());
212214
if (category === "os") {
@@ -280,4 +282,3 @@ function commandMessage(key) {
280282

281283
// Set cuda version right away
282284
changeVersion("stable")
283-

0 commit comments

Comments
 (0)