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;
|
source = entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!target.classList.contains('blurhashed', 'non-blurhashable') && userSettings.enableBlurhash() && blurhashstr) {
|
if (userSettings.enableBlurhash()) {
|
||||||
itemBlurhashing(target, blurhashstr);
|
if (!target.classList.contains('blurhashed', 'non-blurhashable') && blurhashstr) {
|
||||||
} else if (userSettings.enableBlurhash() && !blurhashstr && !target.classList.contains('blurhashed')) {
|
itemBlurhashing(target, blurhashstr);
|
||||||
target.classList.add('non-blurhashable');
|
} else if (!blurhashstr && !target.classList.contains('blurhashed')) {
|
||||||
|
target.classList.add('non-blurhashable');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entry.intersectionRatio > 0) {
|
if (entry.intersectionRatio > 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue