mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Allow empty frame ID when opening receiver selector from tools menu
This commit is contained in:
@@ -163,9 +163,6 @@ async function initMenus () {
|
||||
if (tab?.id === undefined) {
|
||||
throw logger.error("Menu handler tab ID not found.");
|
||||
}
|
||||
if (info.frameId === undefined) {
|
||||
throw logger.error("Menu handler frame ID not found.");
|
||||
}
|
||||
if (!info.pageUrl) {
|
||||
throw logger.error("Menu handler page URL not found.");
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ import ShimManager from "../background/ShimManager";
|
||||
|
||||
interface LoadSenderOptions {
|
||||
tabId: number;
|
||||
frameId: number;
|
||||
frameId?: number;
|
||||
selection: ReceiverSelection;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user