diff options
author | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-18 17:10:41 +0800 |
---|---|---|
committer | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-18 17:10:41 +0800 |
commit | f7deaf1c40e64a896c55416c9a51e02358600549 (patch) | |
tree | 77c0f537d9802bc1a030223bbe7d06a96b764466 | |
parent | 94641d1443e8e680fe13e69044629ccd9ebebad6 (diff) | |
download | tangerine-wallet-browser-f7deaf1c40e64a896c55416c9a51e02358600549.tar tangerine-wallet-browser-f7deaf1c40e64a896c55416c9a51e02358600549.tar.gz tangerine-wallet-browser-f7deaf1c40e64a896c55416c9a51e02358600549.tar.bz2 tangerine-wallet-browser-f7deaf1c40e64a896c55416c9a51e02358600549.tar.lz tangerine-wallet-browser-f7deaf1c40e64a896c55416c9a51e02358600549.tar.xz tangerine-wallet-browser-f7deaf1c40e64a896c55416c9a51e02358600549.tar.zst tangerine-wallet-browser-f7deaf1c40e64a896c55416c9a51e02358600549.zip |
this will work on FF
-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) { |