]> git.sesse.net Git - ultimatescore/blobdiff - carousel.js
Fix an issue where newer browsers would squeeze the secondary scorebugs.
[ultimatescore] / carousel.js
index db36d790fface8ea2e40baea98a471b159d1c354..109f21a72f684c2c6cb68ed6ba81e162b73815eb 100644 (file)
@@ -720,8 +720,8 @@ function showschedule(page)
        let groups_to_get = [
                'Group A',
                'Group B',
-               'Group C',
-               'Playoffs 9th-13th',
+               // 'Group C',
+               // 'Playoffs 9th-13th',
                'Playoffs'
        ];
        let num_left = groups_to_get.length;
@@ -761,8 +761,8 @@ function showcarousel()
        let groups_to_get = [
                'Group A',
                'Group B',
-               'Group C',
-               'Playoffs 9th-13th',
+               // 'Group C',
+               // 'Playoffs 9th-13th',
                'Playoffs'
        ];
        let num_left = groups_to_get.length;
@@ -781,10 +781,6 @@ 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(); } ],
-                               [ 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);