mirror of
https://github.com/twofas/2fas-browser-extension.git
synced 2024-11-25 03:30:26 +01:00
#1515 sendMessageToAllFrames - notification FIX
This commit is contained in:
parent
eb5139671b
commit
cd2b76eb60
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
const browser = require('webextension-polyfill');
|
const browser = require('webextension-polyfill');
|
||||||
const config = require('../../config');
|
const config = require('../../config');
|
||||||
const TwoFasNotification = require('../notification');
|
const TwoFasNotification = require('../../notification');
|
||||||
|
|
||||||
const sendMessageToAllFrames = async (tabId, message) => {
|
const sendMessageToAllFrames = async (tabId, message) => {
|
||||||
const frames = await browser.webNavigation.getAllFrames({ tabId });
|
const frames = await browser.webNavigation.getAllFrames({ tabId });
|
||||||
|
Loading…
Reference in New Issue
Block a user