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