aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/websocket
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/websocket
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/websocket')
-rw-r--r--files/zh-cn/web/api/websocket/onmessage/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/websocket/onmessage/index.html b/files/zh-cn/web/api/websocket/onmessage/index.html
index 27bcce6cf2..491b7edb0b 100644
--- a/files/zh-cn/web/api/websocket/onmessage/index.html
+++ b/files/zh-cn/web/api/websocket/onmessage/index.html
@@ -11,7 +11,7 @@ translation_of: Web/API/WebSocket/onmessage
---
<p>{{APIRef("Web Sockets API")}}</p>
-<p><code><strong>WebSocket.onmessage</strong></code> 属性是一个当收到来自服务器的消息时被调用的 {{domxref("EventHandler")}}。它由一个{{domxref("MessageEvent")}}调用。</p>
+<p><code><strong>WebSocket.onmessage</strong></code> 属性是一个当收到来自服务器的消息时被调用的 {{event("Event_handlers")}}。它由一个{{domxref("MessageEvent")}}调用。</p>
<h2 id="语法">语法</h2>