Fix comment text disappearing when clicking outside of comment text area.

Fix lint error.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2019-12-17 23:42:30 +02:00
parent a4dbe98299
commit 3b3950369c
2 changed files with 12 additions and 25 deletions

View file

@ -16,9 +16,6 @@ BlazeComponent.extendComponent({
events() {
return [
{
'click .js-new-comment:not(.focus)'() {
commentFormIsOpen.set(true);
},
'submit .js-new-comment-form'(evt) {
const input = this.getInput();
const text = input.val().trim();