Skip to content

Commit

Permalink
Merge pull request #5249 from whooze/dev
Browse files Browse the repository at this point in the history
Fix for distributionpage
  • Loading branch information
sulkaharo authored Dec 6, 2019
2 parents 7db7167 + b7ab2ad commit 301181c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/report_plugins/glucosedistribution.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ glucosedistribution.report = function report_glucosedistribution (datastorage, s

$('#glucosedistribution-days').text(days + ' ' + translate('days total'));

for (var i = 0; i < 23; i++) {
for (var i = 0; i < 24; i++) {
$('#glucosedistribution-' + i).unbind('click').click(onClick);
enabledHours[i] = $('#glucosedistribution-' + i).is(':checked');
}
Expand Down

0 comments on commit 301181c

Please sign in to comment.