X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=carousel.js;h=3a0905edd75ba5d137dffaa2f8afd125c9c36634;hb=693747756e9731f299c69c7374adc61c0d71450f;hp=6240c7b91f6658018fb132ffaef83f9346b217c6;hpb=c396868fd38cc06d4aed4a787b98e6d9c39ccb00;p=ultimatescore diff --git a/carousel.js b/carousel.js index 6240c7b..3a0905e 100644 --- a/carousel.js +++ b/carousel.js @@ -670,7 +670,7 @@ function showschedule(page) { let teams = []; let games = []; - let num_left = 4; + let num_left = 5; let cb = function(response, group_name) { teams = teams.concat(parse_teams_from_spreadsheet(response)); @@ -684,6 +684,7 @@ function showschedule(page) get_group('Group B', cb); get_group('Group C', cb); get_group('Playoffs', cb); + get_group('Playoffs 9th-13th', cb); }; function do_series(series) @@ -705,7 +706,7 @@ function showcarousel() let games_per_group = []; let combined_teams = []; let combined_games = []; - let num_left = 4; + let num_left = 5; let cb = function(response, group_name) { let teams = parse_teams_from_spreadsheet(response); @@ -722,6 +723,8 @@ function showcarousel() [ 13000, function() { display_group_parsed(teams_per_group['Group B'], games_per_group['Group B'], 'Group B'); } ], [ 2000, function() { hidetable(); } ], [ 13000, function() { display_group_parsed(teams_per_group['Group C'], games_per_group['Group C'], 'Group C'); } ], + [ 2000, function() { hidetable(); } ], + [ 13000, function() { display_group_parsed(teams_per_group['Playoffs 9th-13th'], games_per_group['Playoffs 9th-13th'], 'Playoffs 9th–13th'); } ], [ 2000, function() { hidetable(); } ] ]; let num_pages = find_num_pages(combined_games); @@ -737,6 +740,7 @@ function showcarousel() get_group('Group A', cb); get_group('Group B', cb); get_group('Group C', cb); + get_group('Playoffs 9th-13th', cb); get_group('Playoffs', cb); };