aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/eventsource/onopen/index.html
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-05-28 11:58:24 -0700
committerGitHub <noreply@github.com>2021-05-28 14:58:24 -0400
commit2958ec7e85c9a1182cd81728e3705948a2c39d71 (patch)
tree1cbe65159e7bd5b35114a54df6ac7f3935c4dbc9 /files/zh-cn/web/api/eventsource/onopen/index.html
parent5e0ce5ef27d3e182d3385b61c6b0197727843b70 (diff)
downloadtranslated-content-2958ec7e85c9a1182cd81728e3705948a2c39d71.tar.gz
translated-content-2958ec7e85c9a1182cd81728e3705948a2c39d71.tar.bz2
translated-content-2958ec7e85c9a1182cd81728e3705948a2c39d71.zip
replace some domxref macro calls with event macro calls (#1016)
Diffstat (limited to 'files/zh-cn/web/api/eventsource/onopen/index.html')
-rw-r--r--files/zh-cn/web/api/eventsource/onopen/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/eventsource/onopen/index.html b/files/zh-cn/web/api/eventsource/onopen/index.html
index 9a4668264a..1d0e698a9c 100644
--- a/files/zh-cn/web/api/eventsource/onopen/index.html
+++ b/files/zh-cn/web/api/eventsource/onopen/index.html
@@ -10,7 +10,7 @@ original_slug: Server-sent_events/EventSource/onopen
---
<div>{{APIRef('WebSockets API')}}</div>
-<p>{{domxref("EventSource")}}接口的 <code><strong>onopen</strong></code> 属性是一个 {{domxref("EventHandler")}} ,它在收到{{event("open")}} 事件时被调用,在那时,连接刚被打开。</p>
+<p>{{domxref("EventSource")}}接口的 <code><strong>onopen</strong></code> 属性是一个 {{event("Event_handlers")}} ,它在收到{{event("open")}} 事件时被调用,在那时,连接刚被打开。</p>
<h2 id="语法">语法</h2>