fix console log

This commit is contained in:
JunkJumper 2020-02-19 17:25:24 +01:00
parent 6d849d6bc7
commit a450d020de

View File

@ -18,14 +18,12 @@ function selection(event) {
if ((maCase.offsetTop == vide.offsetTop && Math.abs(maCase.offsetLeft - vide.offsetLeft) == 102) ||
(maCase.offsetLeft == vide.offsetLeft && Math.abs(maCase.offsetTop - vide.offsetTop) == 102)) {
console.log("ok");
console.log("Déplacement effectué !");
maCase.className = "case vide";
var buff = maCase.innerHTML;
maCase.innerHTML = "";
vide.className = "case";
vide.innerHTML = buff;
}
console.log(event.currentTarget.className + " : " + event.currentTarget.innerText);
var e = event.target;
}