Skip to content

Commit

Permalink
Removed useless assignment to variable emailAddress in docready.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahonen Mika J committed Mar 10, 2021
1 parent 944cd6b commit f2f3404
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion resource/js/docready.js
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,6 @@ $(function() { // DOCUMENT READY
$('#message').removeClass('missing-value');
$('#msgsubject').removeClass('missing-value');
var emailMessageVal = $("#message").val();
var emailAddress = $("#email").val();
var emailSubject = $("#msgsubject").val();
var requiredFields = true;
if (emailMessageVal === '') {
Expand Down

0 comments on commit f2f3404

Please sign in to comment.