mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove testing bits
This commit is contained in:
parent
7169d8494d
commit
dbcc31e1a4
1 changed files with 1 additions and 3 deletions
|
@ -71,9 +71,6 @@ import 'css!./style';
|
|||
|
||||
if (!target.classList.contains('blurhashed') && userSettings.enableBlurhash()) {
|
||||
itemBlurhashing(target);
|
||||
} else if (!userSettings.enableBlurhash()) {
|
||||
target.classList.add('lazy-hidden');
|
||||
}
|
||||
|
||||
if (entry.intersectionRatio > 0) {
|
||||
if (source) fillImageElement(target, source);
|
||||
|
@ -90,6 +87,7 @@ import 'css!./style';
|
|||
let preloaderImg = new Image();
|
||||
preloaderImg.src = url;
|
||||
|
||||
// This is necessary, so switching between blurhash enabled and disabled works
|
||||
if (!userSettings.enableBlurhash()) elem.classList.add('lazy-hidden');
|
||||
|
||||
preloaderImg.addEventListener('load', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue