From 0f023ac4bf9dfe37b21f7593132485c8e34d46cf Mon Sep 17 00:00:00 2001 From: lilia Date: Fri, 30 Oct 2015 11:13:02 -0700 Subject: [PATCH] Focus the message field when conversation opens Fixes #317 // FREEBIE --- js/views/conversation_view.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index a9dba1be9..e5ce03540 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -25,6 +25,7 @@ this.listenTo(this.model, 'change:name', this.updateTitle); this.listenTo(this.model, 'newmessages', this.fetchMessages); this.listenTo(this.model, 'change:unreadCount', this.onUnread); + this.listenTo(this.model, 'opened', this.focusMessageField); this.render(); twemoji.parse(this.el, { base: '/images/twemoji/', size: 16 });