mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
fix placeholder
This commit is contained in:
@@ -435,6 +435,10 @@ function renderReviewAndCreateStep (containerId, stepNumber, game, deckManager)
|
||||
div.querySelector('#timer-option').innerText = 'untimed';
|
||||
}
|
||||
|
||||
if (game.deck.length > 0) {
|
||||
div.querySelector('#roles-option').innerText = '';
|
||||
}
|
||||
|
||||
for (const card of game.deck) {
|
||||
const roleEl = document.createElement('div');
|
||||
roleEl.innerText = card.quantity + 'x ' + card.role;
|
||||
|
||||
Reference in New Issue
Block a user