aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/websocket/onmessage
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-05-28 12:05:52 -0700
committerGitHub <noreply@github.com>2021-05-28 12:05:52 -0700
commit220a7d23b0755acc06146c1262aa09ba22d6e3b1 (patch)
tree50a6ffafe663dc65f1a0f8816862d60e7ce23a33 /files/zh-cn/web/api/websocket/onmessage
parent2958ec7e85c9a1182cd81728e3705948a2c39d71 (diff)
downloadtranslated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.tar.gz
translated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.tar.bz2
translated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.zip
Revert "replace some domxref macro calls with event macro calls (#1016)" (#1017)
This reverts commit 2958ec7e85c9a1182cd81728e3705948a2c39d71.
Diffstat (limited to 'files/zh-cn/web/api/websocket/onmessage')
-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 491b7edb0b..27bcce6cf2 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> 属性是一个当收到来自服务器的消息时被调用的 {{event("Event_handlers")}}。它由一个{{domxref("MessageEvent")}}调用。</p>
+<p><code><strong>WebSocket.onmessage</strong></code> 属性是一个当收到来自服务器的消息时被调用的 {{domxref("EventHandler")}}。它由一个{{domxref("MessageEvent")}}调用。</p>
<h2 id="语法">语法</h2>