Better tag enumerating.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4349 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-07-16 23:41:41 +00:00
parent eb203c7e62
commit a2542c658b
2 changed files with 6 additions and 6 deletions

View File

@ -119,7 +119,7 @@ class TodoListElement extends LitElement {
} else {
return html`
<div><input type="checkbox" ?checked=${item.x} @change=${x => self.handle_check(x, item)}></input>
<span @click=${x => self.editing = index}>${item.text}</span>
<span @click=${x => self.editing = index}>${item.text || '(empty)'}</span>
`;
}
}