mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Footer notification fix
This commit is contained in:
parent
92c8a6ff62
commit
3e0fc7ada1
1 changed files with 14 additions and 1 deletions
|
@ -292,7 +292,7 @@ var Dashboard = {
|
||||||
|
|
||||||
options.id = options.id || "notification" + new Date().getTime() + parseInt(Math.random());
|
options.id = options.id || "notification" + new Date().getTime() + parseInt(Math.random());
|
||||||
|
|
||||||
var footer = $("#footer").css("height", "50px");
|
var footer = $("#footer");
|
||||||
|
|
||||||
var parentElem = $('#footerNotifications', footer);
|
var parentElem = $('#footerNotifications', footer);
|
||||||
|
|
||||||
|
@ -317,8 +317,21 @@ var Dashboard = {
|
||||||
var isPlaying = false;
|
var isPlaying = false;
|
||||||
|
|
||||||
if (videoBackdrop.is(":visible")) {
|
if (videoBackdrop.is(":visible")) {
|
||||||
|
|
||||||
|
footer.css("height", "50px");
|
||||||
|
|
||||||
videoBackdrop.css("bottom", "48px");
|
videoBackdrop.css("bottom", "48px");
|
||||||
|
|
||||||
isPlaying = true;
|
isPlaying = true;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
if (!footer.is(":visible")) {
|
||||||
|
|
||||||
|
footer.show();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
elem.html(options.html).trigger("create");
|
elem.html(options.html).trigger("create");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue