回答編集履歴
1
.
test
CHANGED
@@ -11,6 +11,6 @@
|
|
11
11
|
document.addEventListener("dblclick", function(event) {
|
12
12
|
if (!event.target.closest('td'))
|
13
13
|
return;
|
14
|
+
var td = event.target.closest('td');
|
14
|
-
var parent =
|
15
|
+
var parent = td.parentNode;
|
15
|
-
var td = event.target;
|
16
16
|
```
|