1
0
Fork 0
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:
Luke Pulverenti 2016-04-25 22:17:11 -04:00
parent 0bdb63bcff
commit 112a9858cb
4 changed files with 77 additions and 134 deletions

View file

@ -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,