diff options
-rw-r--r-- | app/scripts/contentscript.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js index 2a47784ed..5c2c03e0d 100644 --- a/app/scripts/contentscript.js +++ b/app/scripts/contentscript.js @@ -36,7 +36,7 @@ function injectScript () { const container = document.head || document.documentElement const scriptTag = document.createElement('script') scriptTag.setAttribute('async', false) - scriptTag.src = extension.extension.getURL('inpage.js') + scriptTag.src = extension.runtime.getURL('inpage.js') container.insertBefore(scriptTag, container.children[0]) // container.removeChild(scriptTag) } catch (e) { |