Remove incorrect window.cast property assignment (fixes #205)

This commit is contained in:
hensm
2022-04-18 09:38:53 +01:00
parent 224216b692
commit 7a91a63435

View File

@@ -31,10 +31,6 @@ if (document.currentScript) {
// Load Framework API if requested
if (currentScriptParams.get("loadCastFramework") === "1") {
if (!_window.cast) {
_window.cast = {};
}
// Queue up the framework script load to speed up init
frameworkScriptPromise = loadScript(CAST_FRAMEWORK_SCRIPT_URL);
frameworkScriptPromise.catch(() => {