Skip to content

Commit

Permalink
Update files/zh-cn/web/api/webrtc_api/simple_rtcdatachannel_sample/in…
Browse files Browse the repository at this point in the history
…dex.md

Co-authored-by: Hoarfroster <[email protected]>
  • Loading branch information
sheep-realms and PassionPenguin authored Oct 18, 2024
1 parent 6d607d3 commit 37390cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ function handleReceiveMessage(event) {

### 断开节点

当用户点击 "Disconnect" 按钮。在之前我们设置的按钮事件处理逻辑中 `disconnectPeers()` 方法被调用
当用户点击Disconnect”按钮,根据之前我们设置的按钮事件处理逻辑,就会调用 `disconnectPeers()`

```js
function disconnectPeers() {
Expand Down

0 comments on commit 37390cf

Please sign in to comment.