mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-12-23 16:18:48 -05:00
Increase paused typing timeout
This commit is contained in:
parent
4ec646aacb
commit
3904f584c8
@ -84,7 +84,7 @@ module.exports = function (client, app) {
|
||||
console.error(err);
|
||||
}
|
||||
if (!app.hasConnected) {
|
||||
//window.location = '/login';
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -77,7 +77,7 @@ module.exports = BasePage.extend({
|
||||
},
|
||||
handleKeyUp: function (e) {
|
||||
this.resizeInput();
|
||||
this.typingTimer = setTimeout(this.pausedTyping.bind(this), 3000);
|
||||
this.typingTimer = setTimeout(this.pausedTyping.bind(this), 5000);
|
||||
if (this.typing && this.$chatInput.val().length === 0) {
|
||||
this.typing = false;
|
||||
client.sendMessage({
|
||||
|
Loading…
Reference in New Issue
Block a user