From 3e0fc7ada100e75862f71e51e61f8f16d39f615e Mon Sep 17 00:00:00 2001 From: Tim Hobbs Date: Mon, 17 Mar 2014 17:38:36 -0700 Subject: [PATCH] Footer notification fix --- dashboard-ui/scripts/site.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 14923a11b0..1a4b8a49ac 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -292,7 +292,7 @@ var Dashboard = { options.id = options.id || "notification" + new Date().getTime() + parseInt(Math.random()); - var footer = $("#footer").css("height", "50px"); + var footer = $("#footer"); var parentElem = $('#footerNotifications', footer); @@ -317,8 +317,21 @@ var Dashboard = { var isPlaying = false; if (videoBackdrop.is(":visible")) { + + footer.css("height", "50px"); + videoBackdrop.css("bottom", "48px"); + isPlaying = true; + + } else { + + if (!footer.is(":visible")) { + + footer.show(); + + } + } elem.html(options.html).trigger("create");