aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-16 15:01:32 +0200
committerChocobozzz <me@florianbigard.com>2018-07-16 15:01:32 +0200
commit0d16506cce36452bb6eb4ad3c26e0d190f5a2930 (patch)
tree45859c97838a3273bb59bee289212f5ac0033aa9
parenta920fef10a5d584818a296af6ca98a1e7e83e13e (diff)
downloadPeerTube-0d16506cce36452bb6eb4ad3c26e0d190f5a2930.tar.gz
PeerTube-0d16506cce36452bb6eb4ad3c26e0d190f5a2930.tar.zst
PeerTube-0d16506cce36452bb6eb4ad3c26e0d190f5a2930.zip
Disable comment submit button when sending the comment
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment-add.component.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html
index eaf068cfa..8ea7f04ed 100644
--- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html
+++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html
@@ -14,7 +14,7 @@
14 </div> 14 </div>
15 15
16 <div class="submit-comment"> 16 <div class="submit-comment">
17 <button *ngIf="isAddButtonDisplayed()" [ngClass]="{ disabled: !form.valid }" i18n> 17 <button *ngIf="isAddButtonDisplayed()" [ngClass]="{ disabled: !form.valid || addingComment }" i18n>
18 Post comment 18 Post comment
19 </button> 19 </button>
20 </div> 20 </div>