index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-01 16:30:15 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-01 16:30:15 -0700 |
commit | ce6cd0be50975f565e52454cfb37e142eac51fc9 (patch) | |
tree | 1085acaf1b29ca82a3865c8727e57dac885ddc67 /src/index.js | |
parent | e199c0d75a18b08e8c97247b384dd66a304eb97e (diff) |
WIP: split hexes and building structure into different layers
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; }); }); |