mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 18:19:58 +00:00
Fix webcomponents polyfill loading
This commit is contained in:
@@ -4,10 +4,7 @@ import { CAST_LOADER_SCRIPT_URL
|
||||
, CAST_SCRIPT_URLS } from "../endpoints";
|
||||
|
||||
|
||||
const _window = (window.wrappedJSObject as any);
|
||||
|
||||
_window.chrome = cloneInto({}, window);
|
||||
_window.navigator.presentation = cloneInto({}, window);
|
||||
(window.wrappedJSObject as any).chrome = cloneInto({}, window);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user