diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-12-02 14:15:55 +0100 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-12-02 14:15:55 +0100 |
commit | 5659be721ef700394363344e8f12c9ae191ce0e4 (patch) | |
tree | cb684ae3c5ab83b005f7f8a76b572992aa3c802b /play.js | |
parent | db37f981308009336964a45136c6079f685daf7f (diff) | |
download | votes-for-women-5659be721ef700394363344e8f12c9ae191ce0e4.tar.gz |
sort claimed cards
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -676,8 +676,7 @@ function on_update() { // eslint-disable-line no-unused-vars for (let c of view.opposition_claimed) document.getElementById("opposition_claimed").appendChild(ui.cards[c]) - // XXX sort is temporary, is done server side for new games. - for (let c of view.states_draw.sort()) + for (let c of view.states_draw) document.getElementById("states_draw").appendChild(ui.cards[c]) for (let c of view.strategy_draw) document.getElementById("strategy_draw").appendChild(ui.cards[c]) |