From 50d95d906d7d782d155e75635be4d637c1ccfb25 Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Mon, 30 Dec 2024 22:44:07 +0100 Subject: fix click fronts and remove console logs --- play.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index a18aea4..a99bb24 100644 --- a/play.js +++ b/play.js @@ -8,7 +8,6 @@ const STANDEES_COUNT = 5; const TRACK_COUNT = 5; const TRACK_LENGTH = 11; const FACTIONS = ['a', 'c', 'm']; -console.log('roles', document.getElementById('roles')); const ui = { map: document.getElementById('map'), medallions_container: document.getElementById('medallions'), @@ -173,7 +172,6 @@ const LAYOUT_TRACKS = [ [948, 489], ], ]; -console.log('ui', ui); function register_action(e, action, id) { e.my_action = action; e.my_id = id; @@ -181,7 +179,6 @@ function register_action(e, action, id) { action_register.push(e); } function on_click_action(evt) { - console.log('on_click_action', evt); if (evt.button === 0) if (send_action(evt.target.my_action, evt.target.my_id)) evt.stopPropagation(); @@ -195,7 +192,6 @@ function is_action(action, arg) { } let on_init_once = false; function on_init() { - console.log('on_init'); if (on_init_once) return; on_init_once = true; -- cgit v1.2.3