Explorar el Código

feat(index.html): update "failed to load the page" msg

Also adds a link to reload manually.
j8
paweldomas hace 8 años
padre
commit
d9017b2665
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      index.html

+ 4
- 0
index.html Ver fichero

@@ -63,6 +63,10 @@
63 63
 
64 64
                     var delay = Math.pow(2, retryCount) * 2000;
65 65
 
66
+                    document.body.innerHTML +=
67
+                        "<br/> The page will reload shortly... "
68
+                            + "<a href='" + href + "' >(reload)</a>";
69
+
66 70
                     window.setTimeout(
67 71
                         function () { window.location.replace(href); }, delay);
68 72
                 };

Loading…
Cancelar
Guardar