mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
chore: update extension API used for injecting scripts
This commit is contained in:
parent
528c5f9d4a
commit
d9659e26b2
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ if (platform.resolvePartialMetaData()) {
|
|||
}
|
||||
|
||||
async function init() {
|
||||
await injectStyles(browser.extension.getURL('content.css'))
|
||||
await injectStyles(browser.runtime.getURL('content.css'))
|
||||
const SideBarElement = document.createElement('div')
|
||||
document.body.appendChild(SideBarElement)
|
||||
ReactDOM.render(<Gitako />, SideBarElement)
|
||||
|
|
|
|||
Loading…
Reference in a new issue