mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-21 17:30:23 -05:00
Don't re-declare the submit variable in a lower scope since nothing overrides the top level one
This commit is contained in:
parent
a5e49c051b
commit
f1a4c41e91
1 changed files with 0 additions and 2 deletions
|
@ -22,8 +22,6 @@ function contactFormInit() {
|
|||
};
|
||||
|
||||
$submit.on("click", function(e) {
|
||||
const $submit = $(this);
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
if (!submitting) {
|
||||
|
|
Loading…
Reference in a new issue