Skip to content

Commit 5e9eca3

Browse files
authored
Merge pull request #1121 from ashutoshdumiyan/patch-1
Update article.md
2 parents 8171ece + 61b605b commit 5e9eca3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 3-frames-and-windows/03-cross-window-communication

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)