mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Fix shim regression
This commit is contained in:
@@ -21,6 +21,8 @@ onMessage(message => {
|
||||
case "shim:/initialized": {
|
||||
const bridgeInfo = message.data;
|
||||
|
||||
cast.isAvailable = true;
|
||||
|
||||
// Call page's API loaded function if defined
|
||||
const readyFunction = global.__onGCastApiAvailable;
|
||||
if (readyFunction && typeof readyFunction === "function") {
|
||||
|
||||
Reference in New Issue
Block a user