Skip to content

Commit

Permalink
Remove setTimeout on actionButton click
Browse files Browse the repository at this point in the history
  • Loading branch information
d-gubert committed Mar 27, 2019
1 parent 745461e commit 7f1d5a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/ui/client/views/app/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -864,9 +864,7 @@ Template.room.events({

const { input } = chatMessages[RoomManager.openedRoom];
input.value = msg;
setTimeout(() => {
input.focus();
}, 5);
input.focus();
},
'click .js-navigate-to-discussion'(event) {
event.preventDefault();
Expand Down

0 comments on commit 7f1d5a6

Please sign in to comment.