diff --git a/contact-form.js b/contact-form.js index 247b508..b90d597 100644 --- a/contact-form.js +++ b/contact-form.js @@ -5,7 +5,7 @@ Ajax Contact Form + https://github.com/pinceladasdaweb/Ajax-Contact-Form + A Simple Ajax Contact Form developed in PHP with HTML5 Form validation. + Has a fallback in jQuery for browsers that do not support HTML5 form validation. -+ version 1.0 ++ version 1.0.1 + Copyright 2014 Pedro Rogerio + Licensed under the MIT license + https://github.com/pinceladasdaweb/Ajax-Contact-Form @@ -14,7 +14,7 @@ Ajax Contact Form (function ($, window, document, undefined) { 'use strict'; - $form = $('#contact-form'); + var $form = $('#contact-form'); $form.submit(function (e) { // remove the error class @@ -69,4 +69,4 @@ Ajax Contact Form e.preventDefault(); }); -}(jQuery, window, document)); \ No newline at end of file +}(jQuery, window, document));