Fix cursor position when editing a task in todo

This commit is contained in:
yflory 2018-02-20 18:43:14 +01:00
parent 50ef40a862
commit 7ede2e1a07
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,8 @@ define([
$span.text($input.val().trim()); $span.text($input.val().trim());
$span.show(); $span.show();
} }
}).on('click mousedown', function (e) {
e.stopPropagation();
}).appendTo($taskDiv); }).appendTo($taskDiv);
$span.text(entry.task) $span.text(entry.task)