Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 2da4f2f..46f39fd 100644
--- a/src/index.js
+++ b/src/index.js
@@ -159,6 +159,7 @@ document.querySelectorAll('.set-firing-arc').forEach(el =>
);
document.querySelector('.set-grenade').addEventListener('click', gameboard.setGrenade);
+document.querySelector('.set-mech-template').addEventListener('click', gameboard.setMechTemplate);
document.querySelectorAll('#toggle-firing-arc-vis input').forEach(el =>
el.addEventListener('input', gameboard.toggleFiringArcVisibility)