FIX: Use the browser
object instead of chrome
(inter-browser compatibility)
This commit is contained in:
parent
268eba900f
commit
cb8c201b95
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
async mounted() {
|
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'})
|
this.feedUrl = await browser.tabs.sendMessage(tab.id, {type: 'extractFeedUrl'})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue