Remove unused function for handling removed widgets
This commit is contained in:
parent
3c43f72028
commit
f683cbe2a2
1 changed files with 0 additions and 22 deletions
|
|
@ -54,28 +54,6 @@
|
|||
setLocationInputs(response.features[0]);
|
||||
}
|
||||
}
|
||||
function selectInspectionType(type) {
|
||||
// Remove selected class from both cards
|
||||
document
|
||||
.getElementById("propertyInspection")
|
||||
.classList.remove("selected");
|
||||
document
|
||||
.getElementById("neighborhoodInspection")
|
||||
.classList.remove("selected");
|
||||
|
||||
// Add selected class to chosen card
|
||||
if (type === "property") {
|
||||
document.getElementById("propertyInspection").classList.add("selected");
|
||||
document.getElementById("inspectionTypeProperty").checked = true;
|
||||
document.getElementById("schedulingSection").style.display = "block";
|
||||
} else {
|
||||
document
|
||||
.getElementById("neighborhoodInspection")
|
||||
.classList.add("selected");
|
||||
document.getElementById("inspectionTypeNeighborhood").checked = true;
|
||||
document.getElementById("schedulingSection").style.display = "none";
|
||||
}
|
||||
}
|
||||
function setLocationInputs(location) {
|
||||
let country = document.getElementById("address-country");
|
||||
let latitude = document.getElementById("latitude");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue