Don't re-declare the submit variable in a lower scope since nothing overrides the top level one

This commit is contained in:
Kevin MacMartin 2024-07-24 17:09:15 -04:00
parent a5e49c051b
commit f1a4c41e91

View file

@ -22,8 +22,6 @@ function contactFormInit() {
};
$submit.on("click", function(e) {
const $submit = $(this);
e.preventDefault();
if (!submitting) {