1
0
Fork 0
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:
Tim Hobbs 2014-03-17 17:38:36 -07:00
parent 92c8a6ff62
commit 3e0fc7ada1

View file

@ -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");