Merged in fix/terms-and-conditions-link (pull request #1933)
Don't check checkbox when clicking link inside the label * Don't check checkbox when clicking link inside the label
This commit is contained in:
@@ -114,6 +114,7 @@ export default function Form() {
|
|||||||
color="peach80"
|
color="peach80"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href={bookingTermsAndConditions[lang]}
|
href={bookingTermsAndConditions[lang]}
|
||||||
|
onClick={(e) => e.stopPropagation()}
|
||||||
>
|
>
|
||||||
{str}
|
{str}
|
||||||
</Link>
|
</Link>
|
||||||
@@ -124,6 +125,7 @@ export default function Form() {
|
|||||||
color="peach80"
|
color="peach80"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href={privacyPolicy[lang]}
|
href={privacyPolicy[lang]}
|
||||||
|
onClick={(e) => e.stopPropagation()}
|
||||||
>
|
>
|
||||||
{str}
|
{str}
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user