aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/src/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'mascara/src/ui.js')
-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