mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
rename images to force cache bust
This commit is contained in:
parent
f8cdea8637
commit
6eff327675
3 changed files with 4 additions and 4 deletions
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
@ -1194,9 +1194,9 @@
|
||||||
|
|
||||||
if (item.MediaType || item.IsFolder) {
|
if (item.MediaType || item.IsFolder) {
|
||||||
if (userData.Played) {
|
if (userData.Played) {
|
||||||
html += '<img data-type="' + type + '" data-itemid="' + itemId + '" class="imgUserItemRating imgPlayed" src="css/images/userdata/played.png" alt="Played" title="Played" onclick="LibraryBrowser.markPlayed(this);return false;" />';
|
html += '<img data-type="' + type + '" data-itemid="' + itemId + '" class="imgUserItemRating imgPlayed" src="css/images/userdata/playedon.png" alt="Played" title="Played" onclick="LibraryBrowser.markPlayed(this);return false;" />';
|
||||||
} else {
|
} else {
|
||||||
html += '<img data-type="' + type + '" data-itemid="' + itemId + '" class="imgUserItemRating imgPlayedOff" src="css/images/userdata/unplayed.png" alt="Played" title="Played" onclick="LibraryBrowser.markPlayed(this);return false;" />';
|
html += '<img data-type="' + type + '" data-itemid="' + itemId + '" class="imgUserItemRating imgPlayedOff" src="css/images/userdata/playedoff.png" alt="Played" title="Played" onclick="LibraryBrowser.markPlayed(this);return false;" />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1233,10 +1233,10 @@
|
||||||
ApiClient.updatePlayedStatus(Dashboard.getCurrentUserId(), id, markAsPlayed);
|
ApiClient.updatePlayedStatus(Dashboard.getCurrentUserId(), id, markAsPlayed);
|
||||||
|
|
||||||
if (markAsPlayed) {
|
if (markAsPlayed) {
|
||||||
link.src = "css/images/userdata/played.png";
|
link.src = "css/images/userdata/playedon.png";
|
||||||
$link.addClass('imgPlayed').removeClass('imgPlayedOff');
|
$link.addClass('imgPlayed').removeClass('imgPlayedOff');
|
||||||
} else {
|
} else {
|
||||||
link.src = "css/images/userdata/unplayed.png";
|
link.src = "css/images/userdata/playedoff.png";
|
||||||
$link.addClass('imgPlayedOff').removeClass('imgPlayed');
|
$link.addClass('imgPlayedOff').removeClass('imgPlayed');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue