Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alberto authored and alberto committed May 31, 2017
1 parent 1532cd5 commit 1b71275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/web/js/canvasDa.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var Da = function(elem, data, options) {
for (var i = 0; i < this.jarray.length; i++) {
year = parseInt(this.jarray[i]);
val = parseInt(this.jarray[++i]);
if (year > 1000 && year<actualYear) {
if (year > 1000 && year<=actualYear) {
this.years[year] = {"count": val, "accumulated": accumulated};
accumulated += val;
this.maxYear = Math.max(this.maxYear, year);
Expand Down

0 comments on commit 1b71275

Please sign in to comment.