Skip to content

Commit

Permalink
Update inspectionform.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed May 27, 2024
1 parent e87c9cc commit f014d6d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions application/views/inspectionform.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function trashSnap() {

function uploadFile() {

var spinnerdiv = document.getElementById("spinner");
let spinnerdiv = document.getElementById("spinner");
spinnerdiv.classList.add("d-flex");
spinnerdiv.style.removeProperty("display");
$("#spinner").addClass("d-flex").show();
Expand Down Expand Up @@ -363,10 +363,12 @@ function uploadFile() {
document.getElementById("imagefields").appendChild(input);
i=i+1;
});
let spinnerdiv = document.getElementById("spinner");
spinnerdiv.classList.remove("d-flex");
spinnerdiv.style.setProperty("display", "none");
}
});
spinnerdiv.classList.remove("d-flex");
spinnerdiv.style.setProperty("display", "none");


}

Expand Down

0 comments on commit f014d6d

Please sign in to comment.