回答編集履歴
1
.
test
CHANGED
@@ -11,5 +11,8 @@
|
|
11
11
|
area.classList.add('visible');
|
12
12
|
area.textContent = message;
|
13
13
|
};
|
14
|
+
|
15
|
+
// 何かがクリックされたら消す。
|
16
|
+
document.addEventListener('click', () => showMessage(''), {capture:true});
|
14
17
|
```
|
15
18
|
|