mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
removed unecessary console.warn
This commit is contained in:
parent
2383a01335
commit
92b1cb3aa3
2 changed files with 2 additions and 3 deletions
|
@ -125,7 +125,7 @@ import './style.css';
|
||||||
export function lazyChildren(elem) {
|
export function lazyChildren(elem) {
|
||||||
if (userSettings.enableBlurhash()) {
|
if (userSettings.enableBlurhash()) {
|
||||||
const lazyElems = Array.from(elem.querySelectorAll('.lazy'));
|
const lazyElems = Array.from(elem.querySelectorAll('.lazy'));
|
||||||
console.warn(lazyElems);
|
|
||||||
lazyElems.forEach((lazyElem) => {
|
lazyElems.forEach((lazyElem) => {
|
||||||
const blurhashstr = lazyElem.getAttribute('data-blurhash');
|
const blurhashstr = lazyElem.getAttribute('data-blurhash');
|
||||||
if (!lazyElem.classList.contains('blurhashed', 'non-blurhashable') && blurhashstr) {
|
if (!lazyElem.classList.contains('blurhashed', 'non-blurhashable') && blurhashstr) {
|
||||||
|
@ -135,7 +135,7 @@ import './style.css';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
console.warn(elem);
|
|
||||||
lazyLoader.lazyChildren(elem, fillImage);
|
lazyLoader.lazyChildren(elem, fillImage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -195,7 +195,6 @@ const scrollerFactory = function (frame, options) {
|
||||||
|
|
||||||
self.frameResizeObserver = new ResizeObserver(onResize, observerOptions);
|
self.frameResizeObserver = new ResizeObserver(onResize, observerOptions);
|
||||||
|
|
||||||
console.warn(frame);
|
|
||||||
self.frameResizeObserver.observe(frame);
|
self.frameResizeObserver.observe(frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue