Render stones at grid intersections instead of inside cells
This commit is contained in:
parent
d60357904b
commit
f1d64ecdf3
3 changed files with 45 additions and 16 deletions
|
|
@ -1,5 +1,5 @@
|
|||
document.addEventListener('htmx:wsConfigSend', function (e) {
|
||||
if (e.target.classList.contains('board-cell')) {
|
||||
if (e.target.classList.contains('intersection')) {
|
||||
const row = parseInt(e.target.dataset.row);
|
||||
const col = parseInt(e.target.dataset.col);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue