fix browserType for chrome

This commit is contained in:
simon 2022-04-03 22:25:12 +07:00
parent a18f4aa3aa
commit 9f91991432
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -117,7 +117,7 @@ async function downloadLink(toDownload) {
// event listener for messages from script.js and popup.js // event listener for messages from script.js and popup.js
browser.runtime.onMessage.addListener( browserType.runtime.onMessage.addListener(
(data, sender) => { (data, sender) => {
console.log("message background.js listener: " + JSON.stringify(data)) console.log("message background.js listener: " + JSON.stringify(data))
if (data.verify === true) { if (data.verify === true) {