From f36da21e40104a50acb00132920b835240cebb38 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Jul 2019 16:05:59 +0200 Subject: Update angular --- client/src/app/videos/+video-watch/modal/video-share.component.html | 2 +- client/src/app/videos/+video-watch/modal/video-share.component.ts | 2 +- client/src/app/videos/+video-watch/modal/video-support.component.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/videos/+video-watch/modal') diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.html b/client/src/app/videos/+video-watch/modal/video-share.component.html index 82e59d04d..e0be9f265 100644 --- a/client/src/app/videos/+video-watch/modal/video-share.component.html +++ b/client/src/app/videos/+video-watch/modal/video-share.component.html @@ -27,7 +27,7 @@
- +
diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.ts b/client/src/app/videos/+video-watch/modal/video-share.component.ts index eaaf6b902..f45afccfb 100644 --- a/client/src/app/videos/+video-watch/modal/video-share.component.ts +++ b/client/src/app/videos/+video-watch/modal/video-share.component.ts @@ -30,7 +30,7 @@ type Customizations = { styleUrls: [ './video-share.component.scss' ] }) export class VideoShareComponent { - @ViewChild('modal') modal: ElementRef + @ViewChild('modal', { static: true }) modal: ElementRef @Input() video: VideoDetails = null @Input() videoCaptions: VideoCaption[] = [] diff --git a/client/src/app/videos/+video-watch/modal/video-support.component.ts b/client/src/app/videos/+video-watch/modal/video-support.component.ts index 5e7afa012..b56a51fbf 100644 --- a/client/src/app/videos/+video-watch/modal/video-support.component.ts +++ b/client/src/app/videos/+video-watch/modal/video-support.component.ts @@ -11,7 +11,7 @@ import { MarkdownService } from '@app/shared/renderer' export class VideoSupportComponent { @Input() video: VideoDetails = null - @ViewChild('modal') modal: NgbModal + @ViewChild('modal', { static: true }) modal: NgbModal videoHTMLSupport = '' -- cgit v1.2.3