From 3e521e2f64809edc47f50f7215a6a05dd32b69dc Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Sun, 28 Apr 2024 16:46:25 -0700
Subject: Rename element class 'board' to 'gameboard'
---
src/modules/gameboard.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src/modules/gameboard.js')
diff --git a/src/modules/gameboard.js b/src/modules/gameboard.js
index 7623a31..9d054d0 100644
--- a/src/modules/gameboard.js
+++ b/src/modules/gameboard.js
@@ -105,7 +105,7 @@ function drawSightLine(sourceCell, targetCell) {
const hexes = svg.querySelectorAll(selector);
sightLine.setHexes(hexes);
const line = sightLine.create(getCellPosition(sourceCell), getCellPosition(targetCell));
- svg.querySelector('.board').appendChild(line);
+ svg.querySelector('.gameboard').appendChild(line);
distanceCallback && distanceCallback(hexes.length - 1);
}
--
cgit v1.2.3