From 1812d22bcab3aec671ca217a1b3058449daa777b Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 3 Jan 2014 17:05:14 +0100 Subject: [PATCH] Close #3 - When completing a task, the cursor should set to the next task --- src/app/bullet/bulletDirective.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/bullet/bulletDirective.js b/src/app/bullet/bulletDirective.js index 4a6fd1d..1f56092 100644 --- a/src/app/bullet/bulletDirective.js +++ b/src/app/bullet/bulletDirective.js @@ -124,6 +124,7 @@ scope.completeBullet = function completeBullet($event, indexes) { var selectedBullet = bulletUtils.findBullet(scope.bullets, indexes); selectedBullet.complete = !selectedBullet.complete; + scope.selectBullet(indexes, 1); $event.preventDefault(); };