質問編集履歴
1
[2]→[index]に修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -144,7 +144,7 @@
|
|
144
144
|
|
145
145
|
tabContents[2].classList.remove("active");
|
146
146
|
|
147
|
-
tabContents[
|
147
|
+
tabContents[index].classList.add("active");
|
148
148
|
|
149
149
|
}
|
150
150
|
|