We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
this
1 parent 2dbec77 commit 7e35f90Copy full SHA for 7e35f90
examples/chat/public/main.js
@@ -108,7 +108,7 @@ $(function() {
108
109
// Removes the visual chat typing message
110
const removeChatTyping = (data) => {
111
- getTypingMessages(data).fadeOut(() => {
+ getTypingMessages(data).fadeOut(function () {
112
$(this).remove();
113
});
114
}
@@ -171,7 +171,7 @@ $(function() {
171
172
// Gets the 'X is typing' messages of a user
173
const getTypingMessages = (data) => {
174
- return $('.typing.message').filter(i => {
+ return $('.typing.message').filter(function (i) {
175
return $(this).data('username') === data.username;
176
177
0 commit comments