aboutsummaryrefslogtreecommitdiffstats
path: root/ui/index.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-02-28 05:54:07 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-02-28 05:54:07 +0800
commit9e6e3f55b719b2b186a1e26f25f03d95f2b2fd96 (patch)
treef6b9e9d7d2c57507269bdd422b0178dedbf9f120 /ui/index.js
parenta77a5f0ab329433404893ff1280fb90ff2a12029 (diff)
parent462c7ae21316cbb3a242f53a0b726194a0faa64e (diff)
downloadtangerine-wallet-browser-9e6e3f55b719b2b186a1e26f25f03d95f2b2fd96.tar
tangerine-wallet-browser-9e6e3f55b719b2b186a1e26f25f03d95f2b2fd96.tar.gz
tangerine-wallet-browser-9e6e3f55b719b2b186a1e26f25f03d95f2b2fd96.tar.bz2
tangerine-wallet-browser-9e6e3f55b719b2b186a1e26f25f03d95f2b2fd96.tar.lz
tangerine-wallet-browser-9e6e3f55b719b2b186a1e26f25f03d95f2b2fd96.tar.xz
tangerine-wallet-browser-9e6e3f55b719b2b186a1e26f25f03d95f2b2fd96.tar.zst
tangerine-wallet-browser-9e6e3f55b719b2b186a1e26f25f03d95f2b2fd96.zip
Merge branch 'i765-gaslimits' of github.com:MetaMask/metamask-plugin into i765-gaslimits
Diffstat (limited to 'ui/index.js')
-rw-r--r--ui/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/index.js b/ui/index.js
index 844e6c417..6b65f12d4 100644
--- a/ui/index.js
+++ b/ui/index.js
@@ -6,9 +6,10 @@ const configureStore = require('./app/store')
const txHelper = require('./lib/tx-helper')
module.exports = launchApp
+let debugMode = window.METAMASK_DEBUG
const log = require('loglevel')
window.log = log
-log.setLevel('warn')
+log.setLevel(debugMode ? 'debug' : 'warn')
function launchApp (opts) {
var accountManager = opts.accountManager