1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add unloading capability to the image loader

This commit is contained in:
MrTimscampi 2020-04-11 22:51:11 +02:00
parent dd54466c36
commit 343989f610
7 changed files with 49 additions and 259 deletions

View file

@ -379,12 +379,7 @@ var AppInfo = {};
define("filesystem", [componentsPath + "/filesystem"], returnFirstDependency);
if (window.IntersectionObserver && !browser.edge) {
define("lazyLoader", [componentsPath + "/lazyloader/lazyloader-intersectionobserver"], returnFirstDependency);
} else {
define("lazyLoader", [componentsPath + "/lazyloader/lazyloader-scroll"], returnFirstDependency);
}
define("lazyLoader", [componentsPath + "/lazyloader/lazyloader-intersectionobserver"], returnFirstDependency);
define("shell", [componentsPath + "/shell"], returnFirstDependency);
define("apiclient", [bowerPath + "/apiclient/apiclient"], returnFirstDependency);