add some sanity checks to the todo app
This commit is contained in:
@@ -96,6 +96,7 @@ define([
|
||||
};
|
||||
|
||||
var addTaskUI = function (el, animate) {
|
||||
if (!el) { return; }
|
||||
var $taskDiv = $('<div>', {
|
||||
'class': 'cp-app-todo-task'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user