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

rename web client tab

This commit is contained in:
Luke Pulverenti 2015-05-07 10:04:10 -04:00
parent 6a2085d68b
commit f515eab01b
47 changed files with 287 additions and 174 deletions

View file

@ -19,16 +19,18 @@
loaded;
this.one("unveil", function () {
var elemType = this.tagName;
var source = this.getAttribute(attrib);
var elem = this;
var elemType = elem.tagName;
var source = elem.getAttribute(attrib);
if (source) {
if (elemType === "DIV") {
this.style.backgroundImage = "url('" + source + "')";
elem.style.backgroundImage = "url('" + source + "')";
} else {
this.setAttribute("src", source);
elem.setAttribute("src", source);
}
this.setAttribute("data-src", '');
elem.setAttribute("data-src", '');
}
});
@ -60,7 +62,7 @@
$.fn.lazyChildren = function () {
$(".lazy", this).unveil(150);
$(".lazy", this).unveil(0);
return this;
};