Skip to content

Commit

Permalink
Fix linting test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
MusikAnimal committed Jul 17, 2018
1 parent c5916f3 commit 6d5b36c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascripts/shared/chart_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ const ChartHelpers = superclass => class extends superclass {
half = Math.floor(sortedValues.length / 2);

return sortedValues.length % 2
? sortedValues[half]
: (sortedValues[half - 1] + sortedValues[half]) / 2.0;
? sortedValues[half]
: (sortedValues[half - 1] + sortedValues[half]) / 2.0;
}

/**
Expand Down

0 comments on commit 6d5b36c

Please sign in to comment.