Skip to content

Commit 2a0e702

Browse files
authored
fix: typo
1 parent 415df08 commit 2a0e702

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
alert(e); // Security Error(另一个源)
5858
}
5959
60-
// 并且,我们也无法 **读取** iframe 中页面的 URL
60+
// 并且,我们也无法读取 iframe 中页面的 URL
6161
try {
6262
// 无法从 location 对象中读取 URL
6363
*!*
@@ -67,7 +67,7 @@
6767
alert(e); // Security Error
6868
}
6969
70-
// ...我们可以 **写入** location(所以,在 iframe 中加载了其他内容)!
70+
// ...我们可以写入 location(所以,在 iframe 中加载了其他内容)!
7171
*!*
7272
iframe.contentWindow.location = '/'; // OK
7373
*/!*

0 commit comments

Comments
 (0)