]> git.sesse.net Git - ultimatescore/blobdiff - carousel.js
Update to three groups.
[ultimatescore] / carousel.js
index b5bf8e294ee80b01d1a8368ee766714536def05c..bbab9aafe300ea0787f291a32a75fd33efbaebf5 100644 (file)
@@ -624,6 +624,7 @@ function showschedule(page)
 
        get_group('Group A', cb);
        get_group('Group B', cb);
+       get_group('Group C', cb);
        get_group('Playoffs', cb);
 };
 
@@ -661,6 +662,8 @@ function showcarousel()
                                [ 13000, function() { display_group_parsed(teams_per_group['Group A'], games_per_group['Group A'], 'Group A'); } ],
                                [ 2000, function() { hidetable(); } ],
                                [ 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(); } ]
                        ];
                        let num_pages = find_num_pages(combined_games);
@@ -675,6 +678,7 @@ function showcarousel()
 
        get_group('Group A', cb);
        get_group('Group B', cb);
+       get_group('Group C', cb);
        get_group('Playoffs', cb);
 };