Procházet zdrojové kódy

Change message

customisations
alemart před 9 měsíci
rodič
revize
55e99ef76d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      plugins/extras/asset-manager.js

+ 1
- 1
plugins/extras/asset-manager.js Zobrazit soubor

@@ -63,7 +63,7 @@ class AssetManager
63 63
 
64 64
         return new Promise((resolve, reject) => {
65 65
             const seconds = options.timeout !== undefined ? options.timeout : Infinity;
66
-            const timeoutFn = () => reject(new Error(`Can't preload assets: timeout!`));
66
+            const timeoutFn = () => reject(new Error(`Can't preload assets: slow connection!`));
67 67
             const timeoutId = isFinite(seconds) ? setTimeout(timeoutFn, seconds * 1000) : undefined;
68 68
 
69 69
             fetch(url)

Načítá se…
Zrušit
Uložit