'channels' tag now also moved to sequential FT group in pipeline; role-select.js ensures Tray.close() before turn advances so as not to obstruct next gamer selection; RoleSelectSpec.js asserrts this functionality
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Disco DeDisco
2026-03-29 22:08:59 -04:00
parent 73135df7a6
commit 29a5658b01
3 changed files with 12 additions and 1 deletions

View File

@@ -163,6 +163,9 @@ var RoleSelect = (function () {
var invSlot = document.getElementById("id_inv_role_card");
if (invSlot) invSlot.innerHTML = "";
// Close tray so it doesn't obscure the next player's card-stack
if (typeof Tray !== "undefined") Tray.close();
var stack = document.querySelector(".card-stack[data-user-slots]");
if (stack) {
// Sync starter-roles from server so the fan reflects actual DB state