Focus the message field when conversation opens

Fixes #317

// FREEBIE
This commit is contained in:
lilia 2015-10-30 11:13:02 -07:00
parent 287aa49252
commit 0f023ac4bf

View file

@ -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 });