From 537beaea3a59d7807223a5746f16f1fac71b0e84 Mon Sep 17 00:00:00 2001 From: Koerismo <56563658+koerismo@users.noreply.github.com> Date: Mon, 29 Jul 2024 20:40:29 -0400 Subject: [PATCH] chore: Run prettier manually?? --- src/client/gameselector.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/gameselector.ts b/src/client/gameselector.ts index 7371396..6211761 100644 --- a/src/client/gameselector.ts +++ b/src/client/gameselector.ts @@ -13,14 +13,14 @@ export class GameSelector { this.gameListElement = this.element.querySelector('.game-list'); // Bind relevant events - window.addEventListener('click', event => { + window.addEventListener('click', (event) => { if (!(event.target instanceof HTMLElement)) return; if (event.target === this.element || event.target === this.element.firstElementChild) return this.toggle(); if (this.element.contains(event.target)) return; this.hide(); }); - window.addEventListener('keydown', event => { + window.addEventListener('keydown', (event) => { if (event.key === 'Escape') this.hide(); }); }