First Initial
This commit is contained in:
17
wwwroot/BackendScript/js/tasks.js
Normal file
17
wwwroot/BackendScript/js/tasks.js
Normal file
@@ -0,0 +1,17 @@
|
||||
var TaskList = function () {
|
||||
|
||||
return {
|
||||
|
||||
initTaskWidget: function () {
|
||||
$('input.list-child').change(function() {
|
||||
if ($(this).is(':checked')) {
|
||||
$(this).parents('li').addClass("task-done");
|
||||
} else {
|
||||
$(this).parents('li').removeClass("task-done");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
}();
|
||||
Reference in New Issue
Block a user