回答編集履歴
2
訂正
test
CHANGED
File without changes
|
1
訂正
test
CHANGED
@@ -122,9 +122,13 @@
|
|
122
122
|
|
123
123
|
[...buttons].forEach( btn => {
|
124
124
|
|
125
|
-
btn.addEventListener("click", function(evt){
|
125
|
+
//btn.addEventListener("click", function(evt){
|
126
126
|
|
127
|
+
// evt.target.dataset[DATA_NAME]="true";
|
128
|
+
|
129
|
+
btn.addEventListener("click", () => {
|
130
|
+
|
127
|
-
|
131
|
+
btn.dataset[DATA_NAME]="true";
|
128
132
|
|
129
133
|
if( checkAll() ) {
|
130
134
|
|