mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
moved chromecast to top
This commit is contained in:
@@ -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([
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user