From 7a91a634350ab60178d831143c8a3375fbe3c9dd Mon Sep 17 00:00:00 2001 From: hensm Date: Mon, 18 Apr 2022 09:38:53 +0100 Subject: [PATCH] Remove incorrect window.cast property assignment (fixes #205) --- ext/src/cast/index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/src/cast/index.ts b/ext/src/cast/index.ts index e599fc8..5429069 100644 --- a/ext/src/cast/index.ts +++ b/ext/src/cast/index.ts @@ -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(() => {