mirror of
https://github.com/morris/vanilla-todo.git
synced 2025-08-22 05:33:06 +02:00
add html comments to html template strings
This commit is contained in:
@@ -10,7 +10,7 @@ export function TodoItem(el) {
|
||||
let startEditing = false;
|
||||
let saveOnBlur = true;
|
||||
|
||||
el.innerHTML = `
|
||||
el.innerHTML = /* html */ `
|
||||
<div class="checkbox">
|
||||
<input type="checkbox">
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user