Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorGuillermo Guerrero <wolf.fox1985@gmail.com>2016-10-11 15:48:16 +0300
committerGuillermo Guerrero <wolf.fox1985@gmail.com>2016-10-11 15:48:16 +0300
commit01f1e76a395beb394ecb1c3f5f3221e2c50bf1f5 (patch)
tree1c3521283980d401ecaab92e05c3d12605faebe3 /static
parent892c966e5b5f4734e449b12c8c96f155026318db (diff)
Fixed reset.
Diffstat (limited to 'static')
-rw-r--r--static/js/front.js4
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>")