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:
parent
b7c828e294
commit
305646fa63
3 changed files with 6 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue