diff options
author | kumavis <aaron@kumavis.me> | 2017-09-16 03:19:52 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2017-09-16 03:19:52 +0800 |
commit | 779e973b45ac3c5c48d471218ed63848a6653a56 (patch) | |
tree | 14fd5ef7f1d2c4f5b0b5af981ac84b01093744d4 /mascara | |
parent | c5a2527c17f9c7f47645dc4d99694645d1985022 (diff) | |
download | tangerine-wallet-browser-779e973b45ac3c5c48d471218ed63848a6653a56.tar.gz tangerine-wallet-browser-779e973b45ac3c5c48d471218ed63848a6653a56.tar.zst tangerine-wallet-browser-779e973b45ac3c5c48d471218ed63848a6653a56.zip |
tests - integration - mascara - small cleanup and timeout adjustments
Diffstat (limited to 'mascara')
-rw-r--r-- | mascara/src/ui.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mascara/src/ui.js b/mascara/src/ui.js index d70dca724..2f940ad1a 100644 --- a/mascara/src/ui.js +++ b/mascara/src/ui.js @@ -63,9 +63,7 @@ function windowReload() { } function timeout (time) { - return new Promise(function (resolve, reject) { - setTimeout(function () { - resolve() - }, time || 1500) + return new Promise((resolve) => { + setTimeout(resolve, time || 1500) }) }
\ No newline at end of file |