disable on submit
This commit is contained in:
parent
36d423f57a
commit
850ecc97c8
|
@ -20,6 +20,7 @@
|
|||
<script>
|
||||
$('#captcha').on({
|
||||
click: function() {
|
||||
this.disabled = true
|
||||
var token = $('input[name="csrfmiddlewaretoken"]')[1].value;
|
||||
$('#csrf').val(token)
|
||||
$('#contact').submit()
|
||||
|
|
Loading…
Reference in New Issue
Block a user