Skip to content

Commit

Permalink
Merge pull request #83 from mrsimpson/feature/#62-refresh-send-icon
Browse files Browse the repository at this point in the history
Feature/#62 refresh send icon
  • Loading branch information
ruKurz authored Aug 23, 2017
2 parents bce14bc + 4f9295a commit cc4bf74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/rocketchat-ui-message/client/messageBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,12 @@ Template.messageBox.events({
'focus .input-message'(event, instance) {
KonchatNotification.removeRoomNotification(this._id);
chatMessages[this._id].input = instance.find('.input-message');
// Created by Vignesh on 22/08/2017
if ($('.input-message').val() !== ''){
chatMessages[this._id].input.updateAutogrow();
instance.isMessageFieldEmpty.set(false);
}
// End of creation by Vignesh on 22/08/2017
},
'click .send-button'(event, instance) {
const input = instance.find('.input-message');
Expand Down

0 comments on commit cc4bf74

Please sign in to comment.