Skip to content

Commit

Permalink
bugfix contact form
Browse files Browse the repository at this point in the history
contact form did not work on Safari
  • Loading branch information
LTholen authored Feb 6, 2017
1 parent dc0447e commit 7c794d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BlogEngine/BlogEngine.NET/Scripts/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ function endSendMessage(arg, context) {
else {
if ($("#spnCaptchaIncorrect")) $("#spnCaptchaIncorrect").css("display", "none");

$('[data-id="btnSend').attr("disabled", "");
var form = $('[data-id="divForm');
$('[data-id="btnSend"]').attr("disabled", "");
var form = $('[data-id="divForm"]');
var thanks = $('#thanks');

form.css("display", "none");
Expand All @@ -56,4 +56,4 @@ function onSendError(err, context) {
}
$('[data-id="btnSend"]').css("display", "none");
alert("Sorry, but the following occurred while attemping to send your message: " + err);
}
}

0 comments on commit 7c794d6

Please sign in to comment.