aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/confirm/confirm.component.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-03-06 16:58:55 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-03-06 16:58:55 +0100
commit54e7884775197877dd941b44bef03b3c6387b22a (patch)
tree6a37e8e5476c382b84b77327597e209a9afb64e3 /client/src/app/shared/confirm/confirm.component.ts
parentde702865f47f647fafb34ca05dde3ea780a4ecb1 (diff)
downloadPeerTube-54e7884775197877dd941b44bef03b3c6387b22a.tar.gz
PeerTube-54e7884775197877dd941b44bef03b3c6387b22a.tar.zst
PeerTube-54e7884775197877dd941b44bef03b3c6387b22a.zip
Normalize modal close buttons, and cancel/submit button styles
Diffstat (limited to 'client/src/app/shared/confirm/confirm.component.ts')
-rw-r--r--client/src/app/shared/confirm/confirm.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/confirm/confirm.component.ts b/client/src/app/shared/confirm/confirm.component.ts
index 763454c4f..d67d4f3c8 100644
--- a/client/src/app/shared/confirm/confirm.component.ts
+++ b/client/src/app/shared/confirm/confirm.component.ts
@@ -60,7 +60,7 @@ export class ConfirmComponent implements OnInit {
60 showModal () { 60 showModal () {
61 this.inputValue = '' 61 this.inputValue = ''
62 62
63 this.openedModal = this.modalService.open(this.confirmModal) 63 this.openedModal = this.modalService.open(this.confirmModal, { centered: true })
64 64
65 this.openedModal.result 65 this.openedModal.result
66 .then(() => this.confirmService.confirmResponse.next(true)) 66 .then(() => this.confirmService.confirmResponse.next(true))