mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-28 18:38:31 +00:00
parent
5025dbf7a2
commit
e512b25cd1
2 changed files with 2 additions and 2 deletions
1
changelog.d/14672.misc
Normal file
1
changelog.d/14672.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Remove dependency on jQuery on reCAPTCHA page.
|
|
@ -3,11 +3,10 @@
|
|||
|
||||
{% block header %}
|
||||
<script src="https://www.recaptcha.net/recaptcha/api.js" async defer></script>
|
||||
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
|
||||
<link rel="stylesheet" href="/_matrix/static/client/register/style.css">
|
||||
<script>
|
||||
function captchaDone() {
|
||||
$('#registrationForm').submit();
|
||||
document.getElementById('registrationForm').submit();
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Reference in a new issue