diff --git a/app/modules/components/terms-of-service-and-privacy-policy-notice/terms-of-service-and-privacy-policy-notice.directive.coffee b/app/modules/components/terms-of-service-and-privacy-policy-notice/terms-of-service-and-privacy-policy-notice.directive.coffee index 96ff3388..fe4ef3ff 100644 --- a/app/modules/components/terms-of-service-and-privacy-policy-notice/terms-of-service-and-privacy-policy-notice.directive.coffee +++ b/app/modules/components/terms-of-service-and-privacy-policy-notice/terms-of-service-and-privacy-policy-notice.directive.coffee @@ -29,6 +29,9 @@ TermsOfServiceAndPrivacyPolicyNoticeDirective = ($config) -> scope.termsOfServiceUrl = $config.get("termsOfServiceUrl") scope.target = false + if !scope.privacyPolicyUrl || !scope.termsOfServiceUrl + scope.target = true + el.on "change", "input[name='accepted_terms']", (event) -> target = angular.element(event.currentTarget) scope.target = target.is(":checked")