]> git.scottworley.com Git - vopamoi/commitdiff
Tasks can be focused
authorScott Worley <scottworley@scottworley.com>
Tue, 25 Jan 2022 10:36:51 +0000 (02:36 -0800)
committerScott Worley <scottworley@scottworley.com>
Thu, 27 Jan 2022 20:19:47 +0000 (12:19 -0800)
vopamoi.ts

index 0d2944c0a87cf936f05a0df8403527238a242583..5967c7d909136eab3975fa042304f96d413105fe 100644 (file)
@@ -3,6 +3,7 @@ var tasks: string[] = [];
 function createViewTask(task: string) {
   const viewTask = document.createElement("div");
   viewTask.appendChild(document.createTextNode(task));
 function createViewTask(task: string) {
   const viewTask = document.createElement("div");
   viewTask.appendChild(document.createTextNode(task));
+  viewTask.setAttribute("tabindex", "0");
   return viewTask;
 }
 
   return viewTask;
 }