Skip to content

Commit

Permalink
fix from @sulkaharo, now we should be able to correctly render treatm…
Browse files Browse the repository at this point in the history
…ents no mater what BG unit is used
  • Loading branch information
jasoncalabrese committed Mar 14, 2015
1 parent 86e2493 commit 686e9af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ var app = {}, browserSettings = {}, browserStorage = $.localStorage;

var totalBG = 0;
closeBGs.forEach(function(d) {
totalBG += d.y;
totalBG += Number(d.y);
});

return totalBG > 0 && closeBGs.length > 0 ? (totalBG / closeBGs.length) : 450;
Expand Down

0 comments on commit 686e9af

Please sign in to comment.