Skip to content

Commit

Permalink
Merge pull request BlogEngine#131 from LTholen/patch-1
Browse files Browse the repository at this point in the history
bugfix contact form
  • Loading branch information
Francis authored Oct 23, 2017
2 parents 649d3b6 + 7c794d6 commit 5a099c3
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 5a099c3

Please sign in to comment.