Skip to content

Commit 40b23ca

Browse files
Fix typo
1 parent 700de3b commit 40b23ca

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

resources/todomvc/vanilla-examples/javascript-web-components-complex/dist/components/todo-item/todo-item.component.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class TodoItem extends HTMLElement {
103103
// (therefore the removal has to happen after the list is updated)
104104
this.dispatchEvent(
105105
new CustomEvent("remove-item", {
106-
detail: { completed: this.togglegetAtInput.checked },
106+
detail: { completed: this.toggleInput.checked },
107107
bubbles: true,
108108
})
109109
);
@@ -116,7 +116,6 @@ class TodoItem extends HTMLElement {
116116
this.removeItem();
117117
else
118118
this.setAttribute("itemtitle", event.target.value);
119-
120119
}
121120

122121
this.cancelEdit();

resources/todomvc/vanilla-examples/javascript-web-components/dist/src/components/todo-item/todo-item.component.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class TodoItem extends HTMLElement {
103103
// (therefore the removal has to happen after the list is updated)
104104
this.dispatchEvent(
105105
new CustomEvent("remove-item", {
106-
detail: { completed: this.togglegetAtInput.checked },
106+
detail: { completed: this.toggleInput.checked },
107107
bubbles: true,
108108
})
109109
);
@@ -116,7 +116,6 @@ class TodoItem extends HTMLElement {
116116
this.removeItem();
117117
else
118118
this.setAttribute("itemtitle", event.target.value);
119-
120119
}
121120

122121
this.cancelEdit();

resources/todomvc/vanilla-examples/javascript-web-components/src/components/todo-item/todo-item.component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class TodoItem extends HTMLElement {
103103
// (therefore the removal has to happen after the list is updated)
104104
this.dispatchEvent(
105105
new CustomEvent("remove-item", {
106-
detail: { completed: this.togglegetAtInput.checked },
106+
detail: { completed: this.toggleInput.checked },
107107
bubbles: true,
108108
})
109109
);

0 commit comments

Comments
 (0)