mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix unplayed count styling when navigating back
This commit is contained in:
parent
2236eb3100
commit
ee0dfed858
1 changed files with 2 additions and 3 deletions
|
@ -1285,8 +1285,7 @@ function updateUserData(card, userData) {
|
||||||
|
|
||||||
if (!playedIndicator) {
|
if (!playedIndicator) {
|
||||||
playedIndicator = document.createElement('div');
|
playedIndicator = document.createElement('div');
|
||||||
playedIndicator.classList.add('playedIndicator');
|
playedIndicator.classList.add('playedIndicator', 'indicator');
|
||||||
playedIndicator.classList.add('indicator');
|
|
||||||
indicatorsElem = ensureIndicators(card, indicatorsElem);
|
indicatorsElem = ensureIndicators(card, indicatorsElem);
|
||||||
indicatorsElem.appendChild(playedIndicator);
|
indicatorsElem.appendChild(playedIndicator);
|
||||||
}
|
}
|
||||||
|
@ -1302,7 +1301,7 @@ function updateUserData(card, userData) {
|
||||||
|
|
||||||
if (!countIndicator) {
|
if (!countIndicator) {
|
||||||
countIndicator = document.createElement('div');
|
countIndicator = document.createElement('div');
|
||||||
countIndicator.classList.add('countIndicator');
|
countIndicator.classList.add('countIndicator', 'indicator');
|
||||||
indicatorsElem = ensureIndicators(card, indicatorsElem);
|
indicatorsElem = ensureIndicators(card, indicatorsElem);
|
||||||
indicatorsElem.appendChild(countIndicator);
|
indicatorsElem.appendChild(countIndicator);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue