mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update dynamic images
This commit is contained in:
parent
f1606413b0
commit
6af52e9ded
2 changed files with 1 additions and 5 deletions
|
@ -1282,7 +1282,7 @@
|
|||
|
||||
var dataSrc = "";
|
||||
|
||||
if (options.lazy) {
|
||||
if (options.lazy && imgUrl) {
|
||||
imageCssClass += " lazy";
|
||||
dataSrc = ' data-src="' + imgUrl + '"';
|
||||
}
|
||||
|
|
|
@ -88,10 +88,6 @@
|
|||
|
||||
var elem = $('.itemsContainer', page).html(html).lazyChildren();
|
||||
|
||||
if (trigger) {
|
||||
$(elem).trigger('create');
|
||||
}
|
||||
|
||||
$(pagingHtml).appendTo(elem).trigger('create');
|
||||
|
||||
$('.btnNextPage', page).on('click', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue