moved chromecast to top

This commit is contained in:
Kasper Rynning-Tønnesen
2019-11-05 15:27:32 +01:00
parent 72acad3547
commit 0d0a4625c8
5 changed files with 21 additions and 10 deletions

View File

@@ -419,7 +419,7 @@ var Channel = {
if (!Helper.mobilecheck() && !client) {
Helper.tooltip(".castButton", {
delay: 5,
position: "top",
position: "bottom",
html: "Cast Zoff to TV"
});
}
@@ -451,7 +451,7 @@ var Channel = {
!Helper.mobilecheck() &&
!client
) {
Helper.css(".castButton", "display", "none");
Helper.css(".cast-button-header", "display", "none");
}
Helper.log([

View File

@@ -457,7 +457,7 @@ initializeCastApi = function() {
function(event) {
Helper.log(["cast state", event.castState]);
if (event.castState == "NOT_CONNECTED") {
Helper.css(".castButton", "display", "block");
Helper.css(".cast-button-header", "display", "inline-flex");
Helper.addClass(".volume-container", "volume-container-cast");
cast_ready_connect = true;
var _chSeen;
@@ -489,7 +489,7 @@ initializeCastApi = function() {
);
if (context.getCastState() == "NOT_CONNECTED") {
Helper.css(".castButton", "display", "block");
Helper.css(".cast-button-header", "display", "inline-flex");
Helper.removeClass(".castButton", "castButton-white-active");
cast_ready_connect = true;
}