Skip to content

Commit 156fa0b

Browse files
committed
Use text from visitor
1 parent 6a4678c commit 156fa0b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

nodejshelper/design/nodejshelpertheme/js/customjs-admin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ var channelList = [];
3535

3636
channelList[chat_id].watch(function (op) {
3737
if (op.op == 'vt') { // Visitor typing text
38-
typingIndicator.html(op.msg).css('visibility','visible');
38+
typingIndicator.text(op.msg).css('visibility','visible');
3939
} else if (op.op == 'vts') { // Visitor typing stopped
40-
typingIndicator.html(op.msg).css('visibility','hidden');
40+
typingIndicator.text(op.msg).css('visibility','hidden');
4141
}
4242
});
4343
}

0 commit comments

Comments
 (0)