Skip to content

Commit 362483e

Browse files
authored
Merge pull request #91 from leighlawhon/patch-2
needs a data-counter
2 parents 3d56f47 + 1205416 commit 362483e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/2-events/03-event-delegation/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ For instance, here the attribute `data-counter` adds a behavior: "increase on cl
186186

187187
```html run autorun height=60
188188
Counter: <input type="button" value="1" data-counter>
189-
One more counter: <input type="button" value="2">
189+
One more counter: <input type="button" value="2" data-counter>
190190

191191
<script>
192192
document.addEventListener('click', function(event) {

0 commit comments

Comments
 (0)