From ce18eb90652b032ffa5c3708ed0fa552e6d305e8 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 2 Mar 2019 22:29:43 -0500 Subject: [PATCH] Disable form submission button while loading --- static/script.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/script.js b/static/script.js index c44224d..ecdfc02 100644 --- a/static/script.js +++ b/static/script.js @@ -126,6 +126,9 @@ $(document).ready(function() { .prop("disabled", true); }); } + $("#cv-form button[type='submit']") + .prop("disabled", true) + .css("cursor", "progress"); }); if ($("#cv-additional").length >= 0) {