Skip to content

Commit 98a5bb3

Browse files
authored
Merge pull request #654 from amekiana/patch-6
Update article.md
2 parents b9376f4 + bdfbca0 commit 98a5bb3

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@
9191

9292
<script>
9393
iframe.onload = function() {
94-
// делаем с ним что угодно iframe.contentDocument.body.prepend("Привет, мир!");
94+
// делаем с ним что угодно
95+
iframe.contentDocument.body.prepend("Привет, мир!");
9596
};
9697
</script>
9798
```

0 commit comments

Comments
 (0)