From: Scott Worley Date: Tue, 25 Jan 2022 10:36:51 +0000 (-0800) Subject: Tasks can be focused X-Git-Url: http://git.scottworley.com/vopamoi/commitdiff_plain/28568279f452686693f5e92182ce83651afbc174 Tasks can be focused --- diff --git a/vopamoi.ts b/vopamoi.ts index 0d2944c..5967c7d 100644 --- a/vopamoi.ts +++ b/vopamoi.ts @@ -3,6 +3,7 @@ var tasks: string[] = []; function createViewTask(task: string) { const viewTask = document.createElement("div"); viewTask.appendChild(document.createTextNode(task)); + viewTask.setAttribute("tabindex", "0"); return viewTask; }