Web Dev Solutions

Catalin Mititiuc

From 2772333072ba8ddaa6721e3bfc6665e2df8d0a14 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Sun, 28 Apr 2024 16:19:59 -0700 Subject: Add all scenario maps --- src/modules/gameboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/gameboard.js') diff --git a/src/modules/gameboard.js b/src/modules/gameboard.js index 25db4ad..7623a31 100644 --- a/src/modules/gameboard.js +++ b/src/modules/gameboard.js @@ -241,7 +241,7 @@ export function start(el) { cell.dispatchEvent(new MouseEvent('pointerover')); }); - cell.addEventListener('pointerover', e => { + cell.addEventListener('pointerover', () => { let selected = getSelected(); if (selected) { @@ -261,7 +261,7 @@ export function start(el) { } }); - cell.addEventListener('pointerout', e => { + cell.addEventListener('pointerout', () => { let sl = getActiveSightLine(svg); if (sl) { -- cgit v1.2.3