Davidacevedo (Talk | contribs) |
Davidacevedo (Talk | contribs) |
||
Line 277: | Line 277: | ||
} else if (event.relatedTarget.id == "esteban") { | } else if (event.relatedTarget.id == "esteban") { | ||
document.getElementById(draggableElementID).style.display = "none"; | document.getElementById(draggableElementID).style.display = "none"; | ||
− | document.getElementById("color2"). | + | document.getElementById("color2").style.opacity = "1"; |
} else if (event.relatedTarget.id == "acebae") { | } else if (event.relatedTarget.id == "acebae") { | ||
document.getElementById(draggableElementID).style.display = "none"; | document.getElementById(draggableElementID).style.display = "none"; | ||
− | document.getElementById("color3"). | + | document.getElementById("color3").style.opacity = "1"; |
} else if (event.relatedTarget.id == "sofi") { | } else if (event.relatedTarget.id == "sofi") { | ||
document.getElementById(draggableElementID).style.display = "none"; | document.getElementById(draggableElementID).style.display = "none"; | ||
− | document.getElementById(" | + | document.getElementById("color4").style.opacity = "1"; |
} | } | ||
//console.log("d"); | //console.log("d"); |
Revision as of 05:40, 14 October 2018