diff options
Diffstat (limited to 'client/src/app/+videos/+video-watch/modal/video-support.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-watch/modal/video-support.component.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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 48d5f2948..bd5290a72 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 | |||
@@ -21,9 +21,11 @@ export class VideoSupportComponent { | |||
21 | ) { } | 21 | ) { } |
22 | 22 | ||
23 | show () { | 23 | show () { |
24 | this.modalService.open(this.modal, { centered: true }) | 24 | const modalRef = this.modalService.open(this.modal, { centered: true }) |
25 | 25 | ||
26 | this.markdownService.enhancedMarkdownToHTML(this.video.support) | 26 | this.markdownService.enhancedMarkdownToHTML(this.video.support) |
27 | .then(r => this.videoHTMLSupport = r) | 27 | .then(r => this.videoHTMLSupport = r) |
28 | |||
29 | return modalRef | ||
28 | } | 30 | } |
29 | } | 31 | } |