X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2F%2Bvideo-watch%2Fcomment%2Fvideo-comment.component.ts;h=dd3db0c6573e29b92c8cc49425d6ba554443f1db;hb=fbdcd4ec9f549b730f8311512bcc0c0b7bc2db0a;hp=5c5d72b2291f03854660475a92767f5e8da52284;hpb=266947e5efc7ff30b0020beb5a74e4d4fc696fa5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+videos/+video-watch/comment/video-comment.component.ts b/client/src/app/+videos/+video-watch/comment/video-comment.component.ts index 5c5d72b22..dd3db0c65 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comment.component.ts +++ b/client/src/app/+videos/+video-watch/comment/video-comment.component.ts @@ -131,10 +131,6 @@ export class VideoCommentComponent implements OnInit, OnChanges { ) } - switchToDefaultAvatar ($event: Event) { - ($event.target as HTMLImageElement).src = Account.GET_DEFAULT_AVATAR_URL() - } - isCommentDisplayed () { // Not deleted return !this.comment.isDeleted ||