diff options
| author | David Stone <davidjamesstone@gmail.com> | 2019-06-15 19:22:27 +0100 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-06-15 11:22:27 -0700 |
| commit | 76329cf610af1612d4e9c562a1ee3a4dd6082a37 (patch) | |
| tree | aa1959e3ee1dba121bea06acb400c6d1d6c6a366 /website/app.ts | |
| parent | 7b06aa37342c021f9f1fac99125847d134e67001 (diff) | |
Fixes benchmark page spinner on Edge #2508 (#2525)
Diffstat (limited to 'website/app.ts')
| -rw-r--r-- | website/app.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/website/app.ts b/website/app.ts index dfc299d2b..d347d5474 100644 --- a/website/app.ts +++ b/website/app.ts @@ -189,7 +189,7 @@ function formatSecsAsMins(t) { } /** - * @param dataUrl The url of benchramk data json. + * @param dataUrl The url of benchmark data json. */ export function drawCharts(dataUrl) { // TODO Using window["location"]["hostname"] instead of @@ -291,7 +291,9 @@ export function main(): void { showSpinner(); - drawCharts(u).finally(hideSpinner); + drawCharts(u) + .then(hideSpinner) + .catch(hideSpinner); } updateCharts(); |
