Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
fix(tournaments): masters tournaments don't throw a bunch of console …
Browse files Browse the repository at this point in the history
…errors anymore

closes #85
  • Loading branch information
seiyria committed Nov 2, 2015
1 parent 6106e03 commit 369fad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/controllers/tournaments/inProgressCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ site.controller('inProgressController', ($scope, $timeout, EnsureLoggedIn, Sideb
TournamentInformation.reset($scope.trn);

$scope.maxMatches = new Array(horizMatches);
$scope.nextMatch = (match) => $scope.trn.right(match);
$scope.nextMatch = (match) => $scope.trn.right ? $scope.trn.right(match) : null;

$scope.matchesLeft = () => TournamentInformation.matchesLeft($scope.trn);

Expand Down

0 comments on commit 369fad6

Please sign in to comment.