CSS and bug fixes for todo

This commit is contained in:
yflory
2017-07-26 13:30:39 +02:00
parent 77d6da841f
commit 459e0b3b16
4 changed files with 13 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ define([
return $('<span>', {
'class': 'cp-task-checkbox fa ' + checked,
//title: title,
title: title,
}).on('click', function () {
entry.state = (entry.state + 1) % 2;
if (typeof(cb) === 'function') {
@@ -73,8 +73,8 @@ define([
}).appendTo($list);
$taskDiv.data('id', el);
var $box = makeCheckbox(el, function (state) {
display();
makeCheckbox(el, function (/*state*/) {
APP.display();
})
.appendTo($taskDiv);