mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update episodes page
This commit is contained in:
parent
0bdb63bcff
commit
112a9858cb
4 changed files with 77 additions and 134 deletions
|
@ -25,17 +25,17 @@
|
|||
|
||||
//};
|
||||
|
||||
LazyloadImagePrototype.attachedCallback = function () {
|
||||
//LazyloadImagePrototype.attachedCallback = function () {
|
||||
|
||||
var original = this.currentSrc || this.src;
|
||||
// var original = this.currentSrc || this.src;
|
||||
|
||||
if (original && window.ImageFetcherLazyloadImage) {
|
||||
//console.log(original);
|
||||
this.src = FALLBACK_IMAGE;
|
||||
console.log('loading ' + original);
|
||||
ImageFetcherLazyloadImage.loadImage(this, original);
|
||||
}
|
||||
};
|
||||
// if (original && window.ImageFetcherLazyloadImage) {
|
||||
// //console.log(original);
|
||||
// this.src = FALLBACK_IMAGE;
|
||||
// console.log('loading ' + original);
|
||||
// ImageFetcherLazyloadImage.loadImage(this, original);
|
||||
// }
|
||||
//};
|
||||
|
||||
return document.registerElement('lazyload-image', {
|
||||
prototype: LazyloadImagePrototype,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue