aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-28 09:49:40 +0100
committerChocobozzz <me@florianbigard.com>2018-02-28 09:49:40 +0100
commit20b40b195aa89778a8b6dc22f76a2ea76ef406a8 (patch)
tree46f52f2e377bcb010d2f0f3ea83915ca0a36623d /client/src/app/videos/+video-watch/video-watch.component.ts
parentacbffe9c0f2c1761fef11d49fb3da97734b000e5 (diff)
downloadPeerTube-20b40b195aa89778a8b6dc22f76a2ea76ef406a8.tar.gz
PeerTube-20b40b195aa89778a8b6dc22f76a2ea76ef406a8.tar.zst
PeerTube-20b40b195aa89778a8b6dc22f76a2ea76ef406a8.zip
Handle user rates in real time
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts
index c9bfa7ffb..3965bade8 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -411,6 +411,9 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
411 411
412 this.video.likes += likesToIncrement 412 this.video.likes += likesToIncrement
413 this.video.dislikes += dislikesToIncrement 413 this.video.dislikes += dislikesToIncrement
414 this.video.buildLikeAndDislikePercents()
415
416 this.setVideoLikesBarTooltipText()
414 } 417 }
415 418
416 private updateOtherVideosDisplayed () { 419 private updateOtherVideosDisplayed () {