[update] remove word, "novice"
The word "novice" is unneeded within a sentence describing a common pitfall.
This commit is contained in:
parent
45435ce1bb
commit
1dc67455d9
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ Here, look:
|
|||
</script>
|
||||
```
|
||||
|
||||
That's actually a well-known pitfall for novice developers. We shouldn't work with the document immediately, because that's the *wrong document*. If we set any event handlers on it, they will be ignored.
|
||||
That's actually a well-known pitfall for developers. We shouldn't work with the document immediately, because that's the *wrong document*. If we set any event handlers on it, they will be ignored.
|
||||
|
||||
...But the `onload` event triggers when the whole iframe with all resources is loaded. What if we want to act sooner, on `DOMContentLoaded` of the embedded document?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue