aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-05-25 11:36:10 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-05-25 11:36:10 +0800
commit717dceede84980050420fc3e3ff015caf2bcd553 (patch)
tree6c75a5f66ff5141e3942b8abb10b5abbebd8a2d5
parenta2064bd16e3f37c537ef6c818a5a10024ef24a2a (diff)
downloadtangerine-wallet-browser-717dceede84980050420fc3e3ff015caf2bcd553.tar
tangerine-wallet-browser-717dceede84980050420fc3e3ff015caf2bcd553.tar.gz
tangerine-wallet-browser-717dceede84980050420fc3e3ff015caf2bcd553.tar.bz2
tangerine-wallet-browser-717dceede84980050420fc3e3ff015caf2bcd553.tar.lz
tangerine-wallet-browser-717dceede84980050420fc3e3ff015caf2bcd553.tar.xz
tangerine-wallet-browser-717dceede84980050420fc3e3ff015caf2bcd553.tar.zst
tangerine-wallet-browser-717dceede84980050420fc3e3ff015caf2bcd553.zip
fix spelling
-rw-r--r--app/scripts/lib/auto-reload.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/auto-reload.js b/app/scripts/lib/auto-reload.js
index 30ddd2395..534047330 100644
--- a/app/scripts/lib/auto-reload.js
+++ b/app/scripts/lib/auto-reload.js
@@ -20,9 +20,9 @@ function setupDappAutoReload (web3, observable) {
if (!networkVersion) networkVersion = curentNetVersion
if (curentNetVersion !== networkVersion && web3._used) {
- const timeSenseUse = Date.now() - web3._used
+ const timeSinceUse = Date.now() - web3._used
// if web3 was recently used then delay the reloading of the page
- timeSenseUse > 500 ? triggerReset() : setTimeout(triggerReset, 500)
+ timeSinceUse > 500 ? triggerReset() : setTimeout(triggerReset, 500)
// prevent reentry into if statement if state updates again before
// reload
networkVersion = curentNetVersion