Update contact_me.js

Fixing XSS Vulnerability by removing the FirstName variable
This commit is contained in:
Jacob H 2017-05-30 22:39:01 +03:00 committed by GitHub
parent 93fec6a65f
commit 09e18d25d3
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ $(function() {
$('#success').html("<div class='alert alert-danger'>");
$('#success > .alert-danger').html("<button type='button' class='close' data-dismiss='alert' aria-hidden='true'>&times;")
.append("</button>");
$('#success > .alert-danger').append("<strong>Sorry " + firstName + ", it seems that my mail server is not responding. Please try again later!");
$('#success > .alert-danger').append("<strong>Sorry, it seems that my mail server is not responding. Please try again later!");
$('#success > .alert-danger').append('</div>');
//clear all fields
$('#contactForm').trigger("reset");