Skip to content

Commit 6973d8a

Browse files
committed
test
1 parent b156d94 commit 6973d8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

_includes/quick-start-module.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ function changeVersion(ptbuild) {
129129
for (const [arch_key, info] of archInfoMap) {
130130
var elems = document.querySelectorAll('[id^="'+arch_key+'"]');
131131
for (var i=0; i < elems.length;i++) {
132-
elems[i].children[0].textContent = info.title + " " + archMap[elems[i].id][1]
132+
if(archMap[elems[i].id])
133+
elems[i].children[0].textContent = info.title + " " + archMap[elems[i].id][1]
134+
else
135+
elems[i].style.textDecoration = "line-through";
133136
}
134137
}
135138
var stable_element = document.getElementById("stable");

0 commit comments

Comments
 (0)