Replace innerText with textContent

This commit is contained in:
2018-06-28 15:30:24 +09:00
parent 00678cf6a4
commit 050355d8ae
9 changed files with 26 additions and 25 deletions

View File

@ -12,7 +12,7 @@ export default class StatusMessage {
show(message: string, duration: number) {
let messageId = String(Date.now())
this.text.innerText = message
this.text.textContent = message
this.container.classList.remove("fade-out")
this.container.dataset.messageId = messageId