make setFocus: bool work
This commit is contained in:
parent
c681f0055f
commit
8eef2074b4
2 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ proc createEntry(id: int; d: cstring; completed, selected: bool): VNode {.compac
|
|||
else:
|
||||
input(class = "edit", name = "title", key=id,
|
||||
onblur = focusLost,
|
||||
onkeyupenter = editEntry, value = d, setFocus)
|
||||
onkeyupenter = editEntry, value = d, setFocus=true)
|
||||
|
||||
proc makeFooter(entriesCount, completedCount: int): VNode {.compact.} =
|
||||
result = buildHtml(footer(class = "footer")):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue