restore footer fluidity
This commit is contained in:
@@ -686,14 +686,9 @@ h1 .imageLink {
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.footerNotifications {
|
||||
height: 50px;
|
||||
margin: 0 2px 2px 2px;
|
||||
}
|
||||
|
||||
.footerNotification {
|
||||
text-shadow: none;
|
||||
padding: 0 1em .75em;
|
||||
padding: .75em 1em;
|
||||
margin: 0;
|
||||
font-weight: normal;
|
||||
border-top: 1px solid #555;
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
$("#videoBackdrop", footer).hide();
|
||||
|
||||
if ($("#footerNotifications", footer).html() == "") { // only hide footer if no notifications
|
||||
if (!$("#footerNotifications", footer).html()) { // only hide footer if no notifications
|
||||
|
||||
footer.hide();
|
||||
|
||||
@@ -1036,7 +1036,7 @@
|
||||
|
||||
var errorMsg = 'There was an error playing the video.';
|
||||
|
||||
if (item.Type == "Channel") {
|
||||
if (item.Type == "TvChannel") {
|
||||
errorMsg += " Please ensure there is an open tuner availalble.";
|
||||
}
|
||||
|
||||
|
||||
@@ -704,7 +704,7 @@
|
||||
});
|
||||
|
||||
}
|
||||
else if (item.Type == "Channel" || item.Type == "Recording") {
|
||||
else if (item.Type == "TvChannel" || item.Type == "Recording") {
|
||||
url = "css/images/items/detail/tv.png";
|
||||
}
|
||||
else if (item.MediaType == "Audio") {
|
||||
|
||||
@@ -318,19 +318,13 @@ var Dashboard = {
|
||||
|
||||
if (videoBackdrop.is(":visible")) {
|
||||
|
||||
footer.css("height", "50px");
|
||||
|
||||
videoBackdrop.css("bottom", "48px");
|
||||
|
||||
isPlaying = true;
|
||||
|
||||
} else {
|
||||
|
||||
if (!footer.is(":visible")) {
|
||||
|
||||
footer.show();
|
||||
|
||||
}
|
||||
footer.show();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user