Skip to content

Commit

Permalink
voiceover in "Terms and Agreement"
Browse files Browse the repository at this point in the history
close #8292
  • Loading branch information
BijinDev committed Jan 17, 2025
1 parent c6e6b22 commit 28217cb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/common/subscription/SignupForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ export class SignupForm implements Component<SignupFormAttrs> {
})
: null,
m(Checkbox, confirmTermsCheckBoxAttrs),
m("div", renderTermsAndConditionsButton(TermsSection.Terms, CURRENT_TERMS_VERSION)),
m("div", renderTermsAndConditionsButton(TermsSection.Privacy, CURRENT_PRIVACY_VERSION)),
m(Checkbox, confirmAgeCheckBoxAttrs),
],
m(
Expand Down Expand Up @@ -240,11 +242,7 @@ export class SignupForm implements Component<SignupFormAttrs> {
}

function renderTermsLabel(): Children {
return [
lang.get("termsAndConditions_label"),
m("div", renderTermsAndConditionsButton(TermsSection.Terms, CURRENT_TERMS_VERSION)),
m("div", renderTermsAndConditionsButton(TermsSection.Privacy, CURRENT_PRIVACY_VERSION)),
]
return [lang.get("termsAndConditions_label")]
}

/**
Expand Down

0 comments on commit 28217cb

Please sign in to comment.