fix bug that was making us to reload the page after cancel was clicked on editing

pull/16315/head
ritwizsinha 6 years ago
parent b577095f18
commit 21350b034b
  1. 6
      app/ui/client/lib/chatMessages.js

@ -470,6 +470,12 @@ export class ChatMessages {
this.deleteMsg(message);
this.$input.focus();
done();
}, () => {
if (this.editing.id === message._id) {
this.clearEditing();
}
this.$input.focus();
done();
});

Loading…
Cancel
Save