mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
Reset the error count on contact form submission success
This commit is contained in:
parent
63021ea93c
commit
b19db9b709
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@
|
|||
this.$http.post("/api/contact-submit" + env.apiToken, JSON.stringify(this.form)).then((response) => {
|
||||
// Success
|
||||
$(this.$el).find(":input").attr("disabled", true);
|
||||
this.errorCount = 0;
|
||||
this.submitSuccess = true;
|
||||
this.submitting = false;
|
||||
}, (response) => {
|
||||
|
|
Loading…
Reference in a new issue