1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-12-24 08:28:56 -05:00

Increase paused typing timeout

This commit is contained in:
Lance Stout 2013-09-17 11:59:33 -07:00
parent 4ec646aacb
commit 3904f584c8
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ module.exports = function (client, app) {
console.error(err); console.error(err);
} }
if (!app.hasConnected) { if (!app.hasConnected) {
//window.location = '/login'; window.location = '/login';
} }
}); });

View File

@ -77,7 +77,7 @@ module.exports = BasePage.extend({
}, },
handleKeyUp: function (e) { handleKeyUp: function (e) {
this.resizeInput(); 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) { if (this.typing && this.$chatInput.val().length === 0) {
this.typing = false; this.typing = false;
client.sendMessage({ client.sendMessage({