mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-11-05 03:30:12 +00:00
fix browserType for chrome
This commit is contained in:
parent
a18f4aa3aa
commit
9f91991432
@ -117,7 +117,7 @@ async function downloadLink(toDownload) {
|
||||
|
||||
|
||||
// event listener for messages from script.js and popup.js
|
||||
browser.runtime.onMessage.addListener(
|
||||
browserType.runtime.onMessage.addListener(
|
||||
(data, sender) => {
|
||||
console.log("message background.js listener: " + JSON.stringify(data))
|
||||
if (data.verify === true) {
|
||||
|
Loading…
Reference in New Issue
Block a user