#1515 sendMessageToAllFrames - notification FIX

This commit is contained in:
GrzegorzZajac000 2024-03-22 14:17:24 +01:00
parent eb5139671b
commit cd2b76eb60

View File

@ -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 });