X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fmodal%2Fwelcome-modal.component.ts;h=e022776e37b77dbfcd059484eddf1a063b25e5c3;hb=62068f4153cb1e67fe30a7f92947c3f2ec058c73;hp=9097de9841c30349d4a6cf7b7c5f784f1daa248f;hpb=006b83927b62b4471a1ce8fd2e59282e89dccd6c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/modal/welcome-modal.component.ts b/client/src/app/modal/welcome-modal.component.ts index 9097de984..e022776e3 100644 --- a/client/src/app/modal/welcome-modal.component.ts +++ b/client/src/app/modal/welcome-modal.component.ts @@ -18,14 +18,15 @@ export class WelcomeModalComponent { ) { } show () { - this.modalService.open(this.modal,{ + this.modalService.open(this.modal, { + centered: true, backdrop: 'static', keyboard: false, size: 'lg' }) } - private doNotOpenAgain () { + doNotOpenAgain () { this.userService.updateMyProfile({ noWelcomeModal: true }) .subscribe( () => console.log('We will not open the welcome modal again.'),