remove cruft
This commit is contained in:
parent
4b5ab5fcdb
commit
504987c178
|
|
@ -206,17 +206,14 @@ function checkRegion(region) {
|
||||||
var status = selectedRegions.get(region)
|
var status = selectedRegions.get(region)
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
function selectComponent(component) {
|
function selectComponent(component) {
|
||||||
selectedComponents.set(component, true);
|
selectedComponents.set(component, true);
|
||||||
console.log(selectedComponents);
|
console.log(selectedComponents);
|
||||||
}
|
}
|
||||||
|
|
||||||
function deselectComponent(component) {
|
function deselectComponent(component) {
|
||||||
selectedComponents.set(component, false);
|
selectedComponents.set(component, false);
|
||||||
console.log(selectedComponents);
|
console.log(selectedComponents);
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleRegion(region) {
|
function toggleRegion(region) {
|
||||||
if (checkRegion(region) == false) {
|
if (checkRegion(region) == false) {
|
||||||
selectRegion(region);
|
selectRegion(region);
|
||||||
|
|
@ -235,11 +232,9 @@ function deselectRegion(region) {
|
||||||
function setButtonColor(buttonName) {
|
function setButtonColor(buttonName) {
|
||||||
document.getElementById(buttonName).style.background = '#00FF00';
|
document.getElementById(buttonName).style.background = '#00FF00';
|
||||||
}
|
}
|
||||||
|
|
||||||
function clearButtonColor(buttonName) {
|
function clearButtonColor(buttonName) {
|
||||||
document.getElementById(buttonName).style.background = '';
|
document.getElementById(buttonName).style.background = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
function selectCheckbox(box) {
|
function selectCheckbox(box) {
|
||||||
box.setAttribute("class", "checked");
|
box.setAttribute("class", "checked");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue