From: Steinar H. Gunderson Date: Wed, 19 Feb 2020 20:59:04 +0000 (+0100) Subject: Fix a bug where showgroup() would throw an exception instead of updating. X-Git-Url: https://git.sesse.net/?p=ultimatescore;a=commitdiff_plain;h=020ffe5d810d3370a102d73cea295e670e071251 Fix a bug where showgroup() would throw an exception instead of updating. --- diff --git a/carousel.js b/carousel.js index b4ac56e..00da45c 100644 --- a/carousel.js +++ b/carousel.js @@ -629,8 +629,8 @@ function showgroup(group_name) let teams = parse_teams_from_spreadsheet(response); let games = parse_games_from_spreadsheet(response, group_name, false); display_group_parsed(teams, games, group_name); + publish_group_rank(response, group_name); // Update the spreadsheet in the background. }); - publish_group_rank(group_name); // Update the spreadsheet in the background. }