Skip to content

Commit

Permalink
Fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
robflop committed May 31, 2017
1 parent 10b2a8d commit 2b53fe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion resources/js/count.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ $(document).ready(() => {

$('#button').keypress(key => {
if (key.which === 13) {
return key.preventDefault(); // don't trigger the button on 'enter' keypress
return key.preventDefault();
// don't trigger the button on 'enter' keypress
}
});

Expand Down
2 changes: 1 addition & 1 deletion resources/js/statistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $(document).ready(() => {
$('#today').html(`Today's clicks: ${formatNumber(data.statistics.today)}`);
$('#week').html(`This week's clicks: ${formatNumber(data.statistics.week)}`);
$('#month').html(`This month's clicks: ${formatNumber(data.statistics.month)}`);
$('#average').html(`Average clicks a day (in last this month): ~${formatNumber(data.statistics.average)}`);
$('#average').html(`Average clicks a day (in this month): ~${formatNumber(data.statistics.average)}`);
});
});

Expand Down

0 comments on commit 2b53fe1

Please sign in to comment.