Skip to content

Commit

Permalink
docs(examples): fix chat example (#3787)
Browse files Browse the repository at this point in the history
  • Loading branch information
adantoscano committed Mar 18, 2021
1 parent 1a72ae4 commit 64be1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chat/public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ $(function() {
}

// Adds the visual chat message to the message list
const addChatMessage = (data, options) => {
const addChatMessage = (data, options = {}) => {
// Don't fade the message in if there is an 'X was typing'
const $typingMessages = getTypingMessages(data);
if ($typingMessages.length !== 0) {
Expand Down

0 comments on commit 64be1c9

Please sign in to comment.