Disable comment submit button when sending the comment

pull/777/merge
Chocobozzz 2018-07-16 15:01:32 +02:00
parent a920fef10a
commit 0d16506cce
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
</div>
<div class="submit-comment">
<button *ngIf="isAddButtonDisplayed()" [ngClass]="{ disabled: !form.valid }" i18n>
<button *ngIf="isAddButtonDisplayed()" [ngClass]="{ disabled: !form.valid || addingComment }" i18n>
Post comment
</button>
</div>