Skip to content

Commit

Permalink
testing 8
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexT01010100 committed Jan 27, 2024
1 parent 476da8f commit 8fc0eb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ document.getElementById("contactForm").addEventListener("submit", function(event
xhr.onload = function() {
if (xhr.status === 200) {
// Email sent successfully, handle success
window.location.href = "https://alexanderterry.me/";
window.location.href = "index.html";
} else {
// Error sending email, handle error
window.location.href = "https://alexanderterry.me/";
window.location.href = "index.html";
}
};
});
Expand Down

0 comments on commit 8fc0eb0

Please sign in to comment.