# WebSDK client view leave button not working

**URL:** <https://devforum.zoom.us/t/websdk-client-view-leave-button-not-working/72705>\
**Category:** Web\
**Created:** [July 22, 2022, 11:28am UTC](https://devforum.zoom.us/t/websdk-client-view-leave-button-not-working/72705 "2022-07-22T11:28:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sd30414](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sd30414/32/39529_2.png) [@sd30414](https://devforum.zoom.us/u/sd30414)\
**Post date:** [July 22, 2022, 11:28am UTC](https://devforum.zoom.us/t/websdk-client-view-leave-button-not-working/72705/1 "2022-07-22T11:28:14Z")

</div>

**Description**  
In Client View, the leave button does not log and does no action.

So, when I found the button and looked at the onClick function, it was just connected to an empty function.

let leaveButton = document.getElementsByClassName(‘footer\_\_leave-btn’)  
console.log(leaveButton)

![333](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/d/7dec68b3ee1d06392a1a7d23191dcfcfe829c2f0.png)  
 ![111](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/f/af16fbc699c4f9ea3b45de0afd37b408187ae581.png)

 ![222](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/2/e2444a87e0755ba4a7f4b88fdebacb3ff6b5f27a.png)

**Which Web Meeting SDK version?**  
2.5

**Device (please complete the following information):**

- Browser: [e.g. Chrome]

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [August 11, 2022, 12:47pm UTC](https://devforum.zoom.us/t/websdk-client-view-leave-button-not-working/72705/2 "2022-08-11T12:47:02Z")

</div>

@sd30414,

Thank you for calling attention to this behavior. We recently released Web SDK (2.6.0). Please test this with the latest version. If possible, can you send a screenshot of what you see in the browser console?

> **[GitHub - zoom/meetingsdk-web-sample: Zoom Meeting SDK Web Sample App](https://github.com/zoom/meetingsdk-web-sample)**
>
> Zoom Meeting SDK Web Sample App. Contribute to zoom/meetingsdk-web-sample development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 10, 2022, 10:47pm UTC](https://devforum.zoom.us/t/websdk-client-view-leave-button-not-working/72705/3 "2022-09-10T22:47:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
