X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Froot-helpers%2Futils.ts;h=06591b95e25414187cd72f76a4fead42d1bac223;hb=72aa835e170f5dfa5fb7b78d50a5d097ea194ef6;hp=e32187ddb0d5b9e5a8cbfe9375bdcc62252d2e98;hpb=2e1e4af03bc9ccd2470a9f293d70dc27596aae24;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/root-helpers/utils.ts b/client/src/root-helpers/utils.ts index e32187ddb..06591b95e 100644 --- a/client/src/root-helpers/utils.ts +++ b/client/src/root-helpers/utils.ts @@ -57,7 +57,7 @@ function importModule (path: string) { } function wait (ms: number) { - return new Promise(res => { + return new Promise(res => { setTimeout(() => res(), ms) }) }