X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=carousel.js;h=1a38e1b7d077fd17251333fa9ad14996c067da52;hb=231cd2afa993da2491e734e6be8246ba32d215d2;hp=98724729d5e050bb00f2f8e4d262b3802b88a58e;hpb=55d9ba8633cfe33170ce30e7d8a66f13f6e23acc;p=ultimatescore diff --git a/carousel.js b/carousel.js index 9872472..1a38e1b 100644 --- a/carousel.js +++ b/carousel.js @@ -711,6 +711,7 @@ function showcarousel() let cb = function(response, group_name) { let teams = parse_teams_from_spreadsheet(response); let games = parse_games_from_spreadsheet(response, group_name, true); + teams = filter_teams(teams, response); teams_per_group[group_name] = teams; games_per_group[group_name] = games; @@ -723,7 +724,7 @@ 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(); } ] + [ 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(); } ] ];