Improving showing/hiding of chromecastbutton

This commit is contained in:
Kasper Rynning-Tønnesen
2017-01-24 12:15:53 +01:00
parent e515915ec8
commit 9d21e059f7
4 changed files with 14 additions and 10 deletions

View File

@@ -263,7 +263,7 @@ var Frontpage = {
window.history.pushState("to the channel!", "Title", "/" + new_channel);
window.chan = new_channel;
}
console.log(chromecastReady);
var response = $("<div>" + e + "</div>");
$(".mega").remove();
@@ -384,7 +384,6 @@ function initfp(){
if (loaded) {
chromecastReady = true;
} else {
console.log(errorInfo);
}
}
}