Merge pull request #5441 from nvllsvm/fix_unplayed_count_indicator

This commit is contained in:
Bill Thornton 2024-05-01 17:14:19 -04:00 committed by GitHub
commit 850ac3837a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}