diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-25 11:01:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-25 11:01:53 +0200 |
commit | b4a929accf576edc733fde75a81dfad9a3d288ed (patch) | |
tree | dbf7e0acca829b5fed3a363fe7b8e3f80041558f /client/src/app/shared/forms/form-reactive.ts | |
parent | b2c60abe6e1637d8f55688ffcbf99cf553ed52ea (diff) | |
download | PeerTube-b4a929accf576edc733fde75a81dfad9a3d288ed.tar.gz PeerTube-b4a929accf576edc733fde75a81dfad9a3d288ed.tar.zst PeerTube-b4a929accf576edc733fde75a81dfad9a3d288ed.zip |
Add "agree to the terms" checkbox in registration form
Diffstat (limited to 'client/src/app/shared/forms/form-reactive.ts')
-rw-r--r-- | client/src/app/shared/forms/form-reactive.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/forms/form-reactive.ts b/client/src/app/shared/forms/form-reactive.ts index e4f7481b5..0bb7d25e6 100644 --- a/client/src/app/shared/forms/form-reactive.ts +++ b/client/src/app/shared/forms/form-reactive.ts | |||
@@ -23,7 +23,7 @@ export abstract class FormReactive { | |||
23 | this.formErrors = formErrors | 23 | this.formErrors = formErrors |
24 | this.validationMessages = validationMessages | 24 | this.validationMessages = validationMessages |
25 | 25 | ||
26 | this.form.valueChanges.subscribe(data => this.onValueChanged(false)) | 26 | this.form.valueChanges.subscribe(() => this.onValueChanged(false)) |
27 | } | 27 | } |
28 | 28 | ||
29 | protected onValueChanged (forceCheck = false) { | 29 | protected onValueChanged (forceCheck = false) { |