mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Address review comments (Part 2)
This commit is contained in:
parent
855b9169ce
commit
ef26e0d37e
1 changed files with 6 additions and 4 deletions
|
@ -71,10 +71,12 @@ import 'css!./style';
|
|||
source = entry;
|
||||
}
|
||||
|
||||
if (!target.classList.contains('blurhashed', 'non-blurhashable') && userSettings.enableBlurhash() && blurhashstr) {
|
||||
itemBlurhashing(target, blurhashstr);
|
||||
} else if (userSettings.enableBlurhash() && !blurhashstr && !target.classList.contains('blurhashed')) {
|
||||
target.classList.add('non-blurhashable');
|
||||
if (userSettings.enableBlurhash()) {
|
||||
if (!target.classList.contains('blurhashed', 'non-blurhashable') && blurhashstr) {
|
||||
itemBlurhashing(target, blurhashstr);
|
||||
} else if (!blurhashstr && !target.classList.contains('blurhashed')) {
|
||||
target.classList.add('non-blurhashable');
|
||||
}
|
||||
}
|
||||
|
||||
if (entry.intersectionRatio > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue