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:
parent
6a2085d68b
commit
f515eab01b
47 changed files with 287 additions and 174 deletions
14
dashboard-ui/thirdparty/jquery.unveil-custom.js
vendored
14
dashboard-ui/thirdparty/jquery.unveil-custom.js
vendored
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue