Skip to content

Commit

Permalink
Clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
robflop committed May 26, 2017
1 parent 721ad13 commit 10b2a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ server.get('/counter', (req, res) => {
});

io.on('connection', socket => {
socket.on('click', data => {
socket.on('click', () => {
counter++; today++;
week++; month++;
average = Math.round(month / fetchedDaysAmount);
Expand Down

0 comments on commit 10b2a8d

Please sign in to comment.