Sudoku review #1

Open
BordedDev wants to merge 19 commits from BordedDev/sudoku:main into main
Showing only changes of commit 367e12fe7b - Show all commits

View File

@ -724,10 +724,8 @@ class Sudoku extends HTMLElement {
for (const row of this.puzzle.rows) {
for (const field of row.cols) {
const fieldElement = document.createElement("div")
const subFieldElement = document.createElement("div")
fieldElement.classList.add("sudoku-field")
fieldElement.field = field
fieldElement.appendChild(subFieldElement)
field.on("update", (field) => {
this._sync()
})