there IS no replace()

This commit is contained in:
Paul Liverman III 2018-04-24 16:47:14 -07:00
parent 6db5e9c7c8
commit b9eb1f16a7

View File

@ -24,7 +24,7 @@ function new_task() {
input.change(function() {
check(data.task.id);
});
input.next().replace(" " + data.task.content);
input.next().replaceWith(" " + data.task.content);
$("#new-task").before(template);
})
.fail(function(request) {