aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Wei <chenwei@byzantine-lab.io>2019-07-18 17:10:41 +0800
committerChen Wei <chenwei@byzantine-lab.io>2019-07-18 17:10:41 +0800
commitf7deaf1c40e64a896c55416c9a51e02358600549 (patch)
tree77c0f537d9802bc1a030223bbe7d06a96b764466
parent94641d1443e8e680fe13e69044629ccd9ebebad6 (diff)
downloadtangerine-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.js2
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) {