mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
sizing more correct
This commit is contained in:
@@ -452,6 +452,7 @@ var Channel = {
|
|||||||
!client
|
!client
|
||||||
) {
|
) {
|
||||||
Helper.css(".cast-button-header", "display", "none");
|
Helper.css(".cast-button-header", "display", "none");
|
||||||
|
Channel.set_title_width();
|
||||||
}
|
}
|
||||||
|
|
||||||
Helper.log([
|
Helper.log([
|
||||||
|
|||||||
@@ -458,6 +458,7 @@ initializeCastApi = function() {
|
|||||||
Helper.log(["cast state", event.castState]);
|
Helper.log(["cast state", event.castState]);
|
||||||
if (event.castState == "NOT_CONNECTED") {
|
if (event.castState == "NOT_CONNECTED") {
|
||||||
Helper.css(".cast-button-header", "display", "inline-flex");
|
Helper.css(".cast-button-header", "display", "inline-flex");
|
||||||
|
Channel.set_title_width();
|
||||||
Helper.addClass(".volume-container", "volume-container-cast");
|
Helper.addClass(".volume-container", "volume-container-cast");
|
||||||
cast_ready_connect = true;
|
cast_ready_connect = true;
|
||||||
var _chSeen;
|
var _chSeen;
|
||||||
@@ -490,6 +491,7 @@ initializeCastApi = function() {
|
|||||||
|
|
||||||
if (context.getCastState() == "NOT_CONNECTED") {
|
if (context.getCastState() == "NOT_CONNECTED") {
|
||||||
Helper.css(".cast-button-header", "display", "inline-flex");
|
Helper.css(".cast-button-header", "display", "inline-flex");
|
||||||
|
Channel.set_title_width();
|
||||||
Helper.removeClass(".castButton", "castButton-white-active");
|
Helper.removeClass(".castButton", "castButton-white-active");
|
||||||
cast_ready_connect = true;
|
cast_ready_connect = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user