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