diff options
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.ts | 5 |
1 files changed, 4 insertions, 1 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 2e1adb043..199666bdc 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -218,7 +218,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
218 | 218 | ||
219 | let observable | 219 | let observable |
220 | if (this.video.isVideoNSFWForUser(this.authService.getUser())) { | 220 | if (this.video.isVideoNSFWForUser(this.authService.getUser())) { |
221 | observable = this.confirmService.confirm('This video is not safe for work. Are you sure you want to watch it?', 'NSFW') | 221 | observable = this.confirmService.confirm( |
222 | 'This video contains mature or explicit content. Are you sure you want to watch it?', | ||
223 | 'Mature or explicit content' | ||
224 | ) | ||
222 | } else { | 225 | } else { |
223 | observable = Observable.of(true) | 226 | observable = Observable.of(true) |
224 | } | 227 | } |