Update task.md

'use the event delegation' -> 'use event delegation'
This commit is contained in:
Peter Roche 2019-11-25 21:02:25 -07:00 committed by GitHub
parent c356514397
commit f073dbdee9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,5 +12,5 @@ Like this:
Details:
- HTML inside the element may be loaded or regenerated dynamically at any time, so we can't find all links and put handlers on them. Use the event delegation.
- HTML inside the element may be loaded or regenerated dynamically at any time, so we can't find all links and put handlers on them. Use event delegation.
- The content may have nested tags. Inside links too, like `<a href=".."><i>...</i></a>`.