Only log the messsage instead of "message: message"
This commit is contained in:
parent
d458c05879
commit
15174295d7
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
|||
const eventList = document.getElementById("list");
|
||||
|
||||
showStatus(messageEvent.Type)
|
||||
newElement.textContent = "message: " + messageEvent.Message;
|
||||
newElement.textContent += messageEvent.Message;
|
||||
eventList.appendChild(newElement);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue