mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 02:29:59 +00:00
Fix webcomponents polyfill loading
This commit is contained in:
@@ -47,12 +47,6 @@ if (document.currentScript) {
|
||||
|
||||
isFramework = true;
|
||||
|
||||
/**
|
||||
* Framework API library requires webcomponents for the cast
|
||||
* button custom element (<google-cast-launcher>).
|
||||
*/
|
||||
loadScript(browser.runtime.getURL("vendor/webcomponents-lite.js"));
|
||||
|
||||
const script = loadScript(CAST_FRAMEWORK_SCRIPT_URL);
|
||||
script.addEventListener("load", ev => {
|
||||
callPageReadyFunction();
|
||||
|
||||
Reference in New Issue
Block a user