Skip to content

Commit 61b605b

Browse files
Update article.md
1 parent 8171ece commit 61b605b

File tree

1 file changed

+1
-1
lines changed
  • 3-frames-and-windows/03-cross-window-communication

1 file changed

+1
-1
lines changed

3-frames-and-windows/03-cross-window-communication/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ An `<iframe>` tag hosts a separate embedded window, with its own separate `docum
3333
We can access them using properties:
3434

3535
- `iframe.contentWindow` to get the window inside the `<iframe>`.
36-
- `iframe.contentDocument` to get the document inside the `<iframe>`, короткий аналог `iframe.contentWindoe.document`.
36+
- `iframe.contentDocument` to get the document inside the `<iframe>`, короткий аналог `iframe.contentWindow.document`.
3737

3838
When we access something inside the embedded window, the browser checks if the iframe has the same origin. If that's not so then the access is denied (writing to `location` is an exception, it's still permitted).
3939

0 commit comments

Comments
 (0)