diff options
author | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-30 22:44:07 +0100 |
---|---|---|
committer | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-30 22:44:07 +0100 |
commit | 50d95d906d7d782d155e75635be4d637c1ccfb25 (patch) | |
tree | 779f45f3de545b9550539501910db3c35a71589e /play.js | |
parent | 4148cddd0370fa1ea9b9580a79ac1c73109c88a1 (diff) | |
download | land-and-freedom-50d95d906d7d782d155e75635be4d637c1ccfb25.tar.gz |
fix click fronts and remove console logs
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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; |