From ce6cd0be50975f565e52454cfb37e142eac51fc9 Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Mon, 1 Jul 2024 16:30:15 -0700
Subject: WIP: split hexes and building structure into different layers
---
src/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src/index.js')
diff --git a/src/index.js b/src/index.js
index bc4fd8f..bb299be 100644
--- a/src/index.js
+++ b/src/index.js
@@ -210,7 +210,7 @@ document.querySelector('#roll-dice').addEventListener('click', () => {
document.querySelectorAll('[name="select-elevation"]').forEach(el => {
el.addEventListener('change', function (e) {
- document.querySelector('object').contentDocument.querySelector('.grid').dataset.viewElevation = this.value;
+ document.querySelector('object').contentDocument.querySelector('.gameboard').dataset.viewElevation = this.value;
});
});
--
cgit v1.2.3