diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-11-19 14:54:11 +0100 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-11-19 14:54:11 +0100 |
commit | 9d239e8da80744ca25c57c2edb949a2c004d1dcb (patch) | |
tree | 47da61954aca97ef367edcf828e9e9bd385e1349 | |
parent | 50ee0a6da1d44b4bd913d6174e4d044e3372d35f (diff) | |
download | votes-for-women-9d239e8da80744ca25c57c2edb949a2c004d1dcb.tar.gz |
todo onmousedown
-rw-r--r-- | play.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -370,6 +370,7 @@ function create_campaigner(color, i) { className: `piece ${color}`, my_campaigner: i, }) + // TODO use onmousedown and figure out why it didn't work on mobile e.addEventListener("click", on_click_campaigner) return e } @@ -384,6 +385,7 @@ function build_user_interface() { if (r) REGIONS_LAYOUT.push(LAYOUT[r]) } + // TODO use onmousedown and figure out why it didn't work on mobile ui.congress_box.addEventListener("click", on_click_congress) for (let c = 1; c <= 6; ++c) { elt = ui.congress[c] = create("div", { |