]> git.sesse.net Git - ultimatescore/blobdiff - carousel.js
Make the roster scripts executable.
[ultimatescore] / carousel.js
index 28fa7ae5757c840ba3afb7f0be6a2c1f92a5edaf..25872316449b0c8b7c3bc4347880e1aef04283a7 100644 (file)
@@ -539,7 +539,7 @@ function filter_teams(teams, response)
 function filter_teams_by_group(teams, groups, group)
 {
        return teams.filter(function(team) {
-               return groups[group].indexOf(team.shortname) != -1;
+               return groups[group].indexOf(team.shortname) != -1 || groups[group].indexOf(team.mediumname) != -1;
        });
 }