diff options
author | bitpshr <mail@bitpshr.net> | 2018-10-30 05:54:39 +0800 |
---|---|---|
committer | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-11-06 07:07:09 +0800 |
commit | cc1bab6ebbef8d8219f83039fdc3baca6de718fd (patch) | |
tree | 778e470a3a1cf50937492eb054693d3590bc3dda /app/scripts/contentscript.js | |
parent | d7618bd5c6cffe02d8737fe6925a31484a1fc0b0 (diff) | |
download | tangerine-wallet-browser-cc1bab6ebbef8d8219f83039fdc3baca6de718fd.tar tangerine-wallet-browser-cc1bab6ebbef8d8219f83039fdc3baca6de718fd.tar.gz tangerine-wallet-browser-cc1bab6ebbef8d8219f83039fdc3baca6de718fd.tar.bz2 tangerine-wallet-browser-cc1bab6ebbef8d8219f83039fdc3baca6de718fd.tar.lz tangerine-wallet-browser-cc1bab6ebbef8d8219f83039fdc3baca6de718fd.tar.xz tangerine-wallet-browser-cc1bab6ebbef8d8219f83039fdc3baca6de718fd.tar.zst tangerine-wallet-browser-cc1bab6ebbef8d8219f83039fdc3baca6de718fd.zip |
Differentiate locked and enabled
Diffstat (limited to 'app/scripts/contentscript.js')
-rw-r--r-- | app/scripts/contentscript.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js index 0723c03f7..2c2efda1c 100644 --- a/app/scripts/contentscript.js +++ b/app/scripts/contentscript.js @@ -157,10 +157,6 @@ function listenForProviderRequest () { case 'answer-is-unlocked': injectScript(`window.dispatchEvent(new CustomEvent('metamaskisunlocked', { detail: { isUnlocked: ${isUnlocked}}}))`) break - case 'metamask-set-locked': - isEnabled = false - injectScript(`window.dispatchEvent(new CustomEvent('metamasksetlocked', { detail: {}}))`) - break } }) } |