FIX: Use the `browser` object instead of `chrome` (inter-browser compatibility)
This commit is contained in:
parent
268eba900f
commit
cb8c201b95
|
@ -21,7 +21,7 @@ export default {
|
|||
},
|
||||
|
||||
async mounted() {
|
||||
const [tab] = await chrome.tabs.query({ active: true, currentWindow: true })
|
||||
const [tab] = await browser.tabs.query({ active: true, currentWindow: true })
|
||||
this.feedUrl = await browser.tabs.sendMessage(tab.id, {type: 'extractFeedUrl'})
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue