Change to 3sec delay before pausing chat state
This commit is contained in:
parent
5a50847015
commit
1b89ec1a3e
|
@ -64,7 +64,7 @@ module.exports = BasePage.extend({
|
||||||
},
|
},
|
||||||
handleKeyUp: function (e) {
|
handleKeyUp: function (e) {
|
||||||
this.resizeInput();
|
this.resizeInput();
|
||||||
this.typingTimer = setTimeout(this.pausedTyping.bind(this), 5000);
|
this.typingTimer = setTimeout(this.pausedTyping.bind(this), 3000);
|
||||||
if (this.typing && this.$chatInput.val().length === 0) {
|
if (this.typing && this.$chatInput.val().length === 0) {
|
||||||
this.typing = false;
|
this.typing = false;
|
||||||
client.sendMessage({
|
client.sendMessage({
|
||||||
|
|
Loading…
Reference in New Issue