mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Remove incorrect window.cast property assignment (fixes #205)
This commit is contained in:
@@ -31,10 +31,6 @@ if (document.currentScript) {
|
|||||||
|
|
||||||
// Load Framework API if requested
|
// Load Framework API if requested
|
||||||
if (currentScriptParams.get("loadCastFramework") === "1") {
|
if (currentScriptParams.get("loadCastFramework") === "1") {
|
||||||
if (!_window.cast) {
|
|
||||||
_window.cast = {};
|
|
||||||
}
|
|
||||||
|
|
||||||
// Queue up the framework script load to speed up init
|
// Queue up the framework script load to speed up init
|
||||||
frameworkScriptPromise = loadScript(CAST_FRAMEWORK_SCRIPT_URL);
|
frameworkScriptPromise = loadScript(CAST_FRAMEWORK_SCRIPT_URL);
|
||||||
frameworkScriptPromise.catch(() => {
|
frameworkScriptPromise.catch(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user