diff --git a/README.md b/README.md index 53ca799..56e1f6b 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,7 @@ hugo serve `$SSH_PRIVATE_KEY` and `$SFTP_USER` need to be set in CI/CD pipelines. +## used stuff +- hugo-bearblog theme: https://github.com/janraasch/hugo-bearblog +- reusable form: c) 2017 Prasanth Janardanan http://reusableforms.com/d/o5/html5-contact-form-send-email +- diff --git a/static/contact-form/form.js b/static/contact-form/form.js index bba2df0..b6e4bd7 100644 --- a/static/contact-form/form.js +++ b/static/contact-form/form.js @@ -55,14 +55,13 @@ $(function() $btn.text('Sending ...'); }); - $('#error_message').hide(); - + //todo fetch error here + $.ajax({ type: "POST", url: '/contact-form/handler.php', data: $form.serialize(), success: after_form_submitted, - error: submit_error(null), dataType: 'json' });