X-Git-Url: http://git.scottworley.com/vopamoi/blobdiff_plain/412e36630caf4f0133959e1641d8a85ba8f5fcc6..4546c7b76e0168ef69cf9d046bfdac7fadac5f9d:/vopamoi.ts?ds=sidebyside diff --git a/vopamoi.ts b/vopamoi.ts index ad1051a..725f3a0 100644 --- a/vopamoi.ts +++ b/vopamoi.ts @@ -15,7 +15,7 @@ function splitN(str: string, delimiter: string, limit: number = MAX_SAFE_INTEGER const Model = { addTask: function (timestamp: string, description: string) { - document.body.appendChild(this.createTask(timestamp, description)).focus(); + document.getElementById("tasks")!.appendChild(this.createTask(timestamp, description)).focus(); }, createTask: function (timestamp: string, description: string) {