Skip to content

Commit 4f5c4b0

Browse files
authored
Update v2chessbord.js
1 parent e094520 commit 4f5c4b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/v2chessbord.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ class Chessboard {
7272
setpieces(this.board);
7373
};
7474
setboard(obj) {
75-
obj.getElementById(`${f.}`)
75+
obj.getElementById(`${f.coords[0]}.${f.coords[1]}`).innerHTML = `<img src="${getPieceImageSource(f.onstayed)}"></img>`;
7676
};
7777
};

0 commit comments

Comments
 (0)