Minor bug fix in controller.js Controller.prototype.removeItem
Controller.prototype.removeItem did not check if the item was available via the DOM before calling removeChild. If you were only viewing "active" and clicked the "Clear completed" button it would result in an error. Wrapped the remvoeChild call in an if statement to validate existence of the elememnt.
Showing
Please register or sign in to comment