From 1dc67455d9df2dde85a86899b4171ac1dfbe89a9 Mon Sep 17 00:00:00 2001 From: Jeff Wainwright Date: Sun, 23 Dec 2018 16:55:29 -0800 Subject: [PATCH] [update] remove word, "novice" The word "novice" is unneeded within a sentence describing a common pitfall. --- 4-frames-and-windows/03-cross-window-communication/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4-frames-and-windows/03-cross-window-communication/article.md b/4-frames-and-windows/03-cross-window-communication/article.md index a4193a62..54b9946f 100644 --- a/4-frames-and-windows/03-cross-window-communication/article.md +++ b/4-frames-and-windows/03-cross-window-communication/article.md @@ -134,7 +134,7 @@ Here, look: ``` -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?