]> git.sesse.net Git - ultimatescore/commitdiff
Fix the schedule carousel.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 15 Oct 2019 22:28:30 +0000 (00:28 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 15 Oct 2019 22:28:30 +0000 (00:28 +0200)
carousel.js

index 7066ba4cb0e336707e9bc93abd3d81f9d6db3f86..00760310e3f5d5ed657bb3f2fc9022ff9681e9d8 100644 (file)
@@ -650,7 +650,7 @@ function showschedule(page)
 {
        let teams = [];
        let games = [];
-       let num_left = 3;
+       let num_left = 4;
 
        let cb = function(response, group_name) {
                teams = teams.concat(parse_teams_from_spreadsheet(response));
@@ -685,7 +685,7 @@ function showcarousel()
        let games_per_group = [];
        let combined_teams = [];
        let combined_games = [];
-       let num_left = 3;
+       let num_left = 4;
 
        let cb = function(response, group_name) {
                let teams = parse_teams_from_spreadsheet(response);