|
@@ -108,12 +108,12 @@ function createRow() {
|
|
|
})
|
|
|
$td.addEventListener('mouseout', (e) => rerenderColor(e, 'transparent'))
|
|
|
$tr.appendChild($td)
|
|
|
- console.log(j)
|
|
|
if(j < 9) createCell()
|
|
|
}
|
|
|
+ $table.appendChild($tr);
|
|
|
createCell()
|
|
|
- if(i > 1) createRow()
|
|
|
- $table.appendChild($tr)
|
|
|
+ if(i > 1) createRow();
|
|
|
+
|
|
|
}
|
|
|
createRow()
|
|
|
document.body.appendChild($table)
|