回答編集履歴
1
変更
test
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
```js
|
2
2
|
|
3
|
-
|
3
|
+
tttt = document.querySelector('.room');
|
4
4
|
|
5
|
-
function addedDOM() {
|
6
|
-
|
7
|
-
options = {
|
5
|
+
options02 = {
|
8
6
|
|
9
7
|
childList: true,
|
10
8
|
|
@@ -17,16 +15,6 @@
|
|
17
15
|
subtree: true,
|
18
16
|
|
19
17
|
}
|
20
|
-
|
21
|
-
}
|
22
|
-
|
23
|
-
/* append DOM ------------------------------------------------ end */
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
tttt = document.querySelector('.room');
|
28
|
-
|
29
|
-
addedDOM();
|
30
18
|
|
31
19
|
function call02(mutationsList, observer) {
|
32
20
|
|
@@ -50,7 +38,7 @@
|
|
50
38
|
|
51
39
|
obs02 = new MutationObserver(call02);
|
52
40
|
|
53
|
-
obs02.observe(tttt, options);
|
41
|
+
obs02.observe(tttt, options02);
|
54
42
|
|
55
43
|
```
|
56
44
|
|