Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help: Remove unnecessary onClick event listener.
afeefuddinc138082eb3fc
diff --git a/web/src/portico/help.js b/web/src/portico/help.jsindex 1abe883aa51..391fb3d199d 100644--- a/web/src/portico/help.js+++ b/web/src/portico/help.js@@ -59,11 +59,6 @@ function add_copy_to_clipboard_element($codehilite) {placement: "top",});- // Copy code on button click- $copy_button.on("click", () => {- clipboard.onClick({currentTarget: $copy_button[0]});- });-// Show "Copied!" tooltip when code is successfully copiedclipboard.on("success", () => {tooltip_copy.hide();