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

update package creator

This commit is contained in:
Luke Pulverenti 2016-05-05 22:18:14 -04:00
parent e65b47e772
commit 6fb76e7481
4 changed files with 59 additions and 66 deletions

View file

@ -1380,19 +1380,10 @@
}
if (imgUrl) {
var minLazyIndex = 16;
if (options.smallIcon) {
if (index < minLazyIndex) {
html += '<div class="listviewImage small" style="background-image:url(\'' + imgUrl + '\');" item-icon></div>';
} else {
html += '<div class="listviewImage lazy small" data-src="' + imgUrl + '" item-icon></div>';
}
html += '<div class="listviewImage lazy small" data-src="' + imgUrl + '" item-icon></div>';
} else {
if (index < minLazyIndex) {
html += '<div class="listviewImage" style="background-image:url(\'' + imgUrl + '\');" item-icon></div>';
} else {
html += '<div class="listviewImage lazy" data-src="' + imgUrl + '" item-icon></div>';
}
html += '<div class="listviewImage lazy" data-src="' + imgUrl + '" item-icon></div>';
}
} else {
if (options.smallIcon) {

View file

@ -34,7 +34,7 @@
html += '<paper-icon-button icon="mic" class="headerButton headerButtonRight headerVoiceButton hide"></paper-icon-button>';
html += '<button class="headerButton headerButtonRight btnNotifications clearButton" type="button" title="Notifications"><div class="btnNotificationsInner">0</div></button>';
html += '<paper-button class="headerButton headerButtonRight btnNotifications clearButton" type="button" title="Notifications"><div class="btnNotificationsInner">0</div></paper-button>';
html += '<paper-icon-button icon="person" class="headerButton headerButtonRight headerUserButton"></paper-icon-button>';
@ -1119,7 +1119,7 @@
var headerCreated;
var userRequiresUpdateAfterHeader;
require(['paper-icon-button', 'emby-icons'], function () {
require(['paper-icon-button', 'emby-icons', 'paper-button'], function () {
renderHeader();
headerCreated = true;