Skip to content

Commit

Permalink
add server response
Browse files Browse the repository at this point in the history
  • Loading branch information
shaifulazh committed Jul 19, 2024
1 parent a330779 commit 55c6369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/static/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ document.addEventListener("submit", function() {
});

function handleLoadingChange() {
var serverResponse = document.getElementById("serverResponse");
if (elLoadingDiv.style.display === "none") {
elLoadingDiv.style.display = "block";
serverResponse.style.display = "none"
Expand Down

0 comments on commit 55c6369

Please sign in to comment.