diff options
author | Guillermo Guerrero <wolf.fox1985@gmail.com> | 2016-10-11 15:48:16 +0300 |
---|---|---|
committer | Guillermo Guerrero <wolf.fox1985@gmail.com> | 2016-10-11 15:48:16 +0300 |
commit | 01f1e76a395beb394ecb1c3f5f3221e2c50bf1f5 (patch) | |
tree | 1c3521283980d401ecaab92e05c3d12605faebe3 /static | |
parent | 892c966e5b5f4734e449b12c8c96f155026318db (diff) |
Fixed reset.
Diffstat (limited to 'static')
-rw-r--r-- | static/js/front.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/front.js b/static/js/front.js index 9d33350..7b24b58 100644 --- a/static/js/front.js +++ b/static/js/front.js @@ -29,8 +29,8 @@ function contactForm() { $.post($(this).attr('action'),
$this.serialize(),
function(data) {
- $this.reset(); // clear form
-
+ $this[0].reset(); // clear form
+
$this
.prev() .html("<div class='alert alert-success' role='alert'>Thank you for getting in touch! We appreciate you contacting us, we try to respond as soon as possible. Have a great day ahead!.</div>")
|