diff options
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(); |