Commit 2106848c authored by addyosmani's avatar addyosmani

Adding fix to enable dynamic filtering

parent 5d3afcf9
......@@ -23,6 +23,7 @@
// Toggle the `completed` state of this todo item.
toggle: function() {
this.save({completed: !this.get("completed")});
window.app.Todos.trigger('reset');
},
// Remove this Todo from *localStorage* and delete its view.
......
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