Skip to content
Snippets Groups Projects
Unverified Commit e512b25c authored by Jeyachandran Rathnam's avatar Jeyachandran Rathnam Committed by GitHub
Browse files

Fix #11308 : Remove dependency on jquery on reCAPTCHA page (#14672)

parent 5025dbf7
No related branches found
No related tags found
No related merge requests found
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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment