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

Also adds a link to reload manually.
This commit is contained in:
paweldomas 2016-12-13 07:33:27 -06:00
parent a4dcf5f8df
commit d9017b2665
1 changed files with 4 additions and 0 deletions

View File

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