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

move lazy script

This commit is contained in:
Luke Pulverenti 2014-04-10 11:33:42 -04:00
parent b7c828e294
commit 305646fa63
3 changed files with 6 additions and 12 deletions

View file

@ -1,5 +1,11 @@
var LibraryBrowser = (function (window, document, $, screen, localStorage) {
$(function() {
$("body").on("create", function () {
$(".lazy").unveil(200);
});
});
var defaultBackground = "#333";
return {
@ -432,8 +438,6 @@
options.shape = options.shape || "portrait";
options.lazy = options.lazy || false;
var html = "";
var primaryImageAspectRatio = options.shape == 'auto' ? LibraryBrowser.getAveragePrimaryImageAspectRatio(items) : null;