We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a72ae4 commit 64be1c9Copy full SHA for 64be1c9
examples/chat/public/main.js
@@ -72,7 +72,7 @@ $(function() {
72
}
73
74
// Adds the visual chat message to the message list
75
- const addChatMessage = (data, options) => {
+ const addChatMessage = (data, options = {}) => {
76
// Don't fade the message in if there is an 'X was typing'
77
const $typingMessages = getTypingMessages(data);
78
if ($typingMessages.length !== 0) {
0 commit comments