parent
a50c7dd0a2
commit
177940981e
10 changed files with 38 additions and 19 deletions
@ -1,9 +1,5 @@ |
||||
const openNewTab = (url) => { |
||||
return browser.tabs.create({ url: url }); |
||||
}; |
||||
|
||||
const openToTab = (url, tab) => { |
||||
return browser.tabs.update(tab.id, { url: url }); |
||||
}; |
||||
|
||||
export { openToTab, openNewTab }; |
||||
export { openToTab }; |
||||
|
Reference in new issue