aboutsummaryrefslogtreecommitdiffstats
path: root/mascara
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-09-16 03:19:52 +0800
committerkumavis <aaron@kumavis.me>2017-09-16 03:19:52 +0800
commit779e973b45ac3c5c48d471218ed63848a6653a56 (patch)
tree14fd5ef7f1d2c4f5b0b5af981ac84b01093744d4 /mascara
parentc5a2527c17f9c7f47645dc4d99694645d1985022 (diff)
downloadtangerine-wallet-browser-779e973b45ac3c5c48d471218ed63848a6653a56.tar
tangerine-wallet-browser-779e973b45ac3c5c48d471218ed63848a6653a56.tar.gz
tangerine-wallet-browser-779e973b45ac3c5c48d471218ed63848a6653a56.tar.bz2
tangerine-wallet-browser-779e973b45ac3c5c48d471218ed63848a6653a56.tar.lz
tangerine-wallet-browser-779e973b45ac3c5c48d471218ed63848a6653a56.tar.xz
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.js6
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