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:
@@ -6,7 +6,7 @@ import { AppIcon } from './AppIcon.js';
|
||||
export function TodoItemInput(el) {
|
||||
let saveOnBlur = true;
|
||||
|
||||
el.innerHTML = `
|
||||
el.innerHTML = /* html */ `
|
||||
<input type="text" class="input use-focus-other">
|
||||
<button class="app-button save"><i class="app-icon" data-id="plus-24"></i></button>
|
||||
`;
|
||||
|
Reference in New Issue
Block a user