From ee0dfed858e755358892492442347aa3337382ec Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Wed, 1 May 2024 14:17:11 -0400 Subject: [PATCH] Fix unplayed count styling when navigating back --- src/components/cardbuilder/cardBuilder.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/cardbuilder/cardBuilder.js b/src/components/cardbuilder/cardBuilder.js index acbe05c270..352b38a6a1 100644 --- a/src/components/cardbuilder/cardBuilder.js +++ b/src/components/cardbuilder/cardBuilder.js @@ -1285,8 +1285,7 @@ function updateUserData(card, userData) { if (!playedIndicator) { playedIndicator = document.createElement('div'); - playedIndicator.classList.add('playedIndicator'); - playedIndicator.classList.add('indicator'); + playedIndicator.classList.add('playedIndicator', 'indicator'); indicatorsElem = ensureIndicators(card, indicatorsElem); indicatorsElem.appendChild(playedIndicator); } @@ -1302,7 +1301,7 @@ function updateUserData(card, userData) { if (!countIndicator) { countIndicator = document.createElement('div'); - countIndicator.classList.add('countIndicator'); + countIndicator.classList.add('countIndicator', 'indicator'); indicatorsElem = ensureIndicators(card, indicatorsElem); indicatorsElem.appendChild(countIndicator); }