Skip to content

Commit

Permalink
Fix removing todos together with no todos paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
kr15h authored and chris-ramon committed Feb 22, 2017
1 parent 6a49f5f commit c8e6bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/todo/static/assets/js/app.js
Expand Up @@ -20,7 +20,7 @@ var handleTodoList = function(object) {
$('.todo-list-container').append('<p>There are no tasks for you today</p>');
return
} else {
$('.todo-list-container').empty();
$('.todo-list-container p').remove();
}

$.each(todos, function(i, v) {
Expand Down

0 comments on commit c8e6bc0

Please sign in to comment.