Commit 3547a879 authored by Sindre Sorhus's avatar Sindre Sorhus

Merge pull request #778 from NeilvB/parens-fix

Remove extra parens
parents 13e5e49e 58976107
......@@ -199,7 +199,7 @@
* number of todos.
*/
Controller.prototype._updateCount = function () {
this.model.getCount((function(todos) {
this.model.getCount(function(todos) {
this.view.render('updateElementCount', todos.active);
this.view.render('clearCompletedButton', {
completed: todos.completed,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment