From 850ecc97c8b8f7d626176c5b44bfb430cdf92739 Mon Sep 17 00:00:00 2001 From: j <j@mailb.org> Date: Wed, 8 Jan 2025 15:04:07 +0530 Subject: [PATCH] disable on submit --- content/templates/contact.html | 1 + 1 file changed, 1 insertion(+) diff --git a/content/templates/contact.html b/content/templates/contact.html index 03eac62..6539dee 100644 --- a/content/templates/contact.html +++ b/content/templates/contact.html @@ -20,6 +20,7 @@ <script> $('#captcha').on({ click: function() { + this.disabled = true var token = $('input[name="csrfmiddlewaretoken"]')[1].value; $('#csrf').val(token) $('#contact').submit()