Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

popover_menus: Remove incorrect `return`.

Aman Agrawal43578847e38c
diff --git a/static/js/popover_menus.js b/static/js/popover_menus.js
index 3800a2f5f82..b82e8d54413 100644
--- a/static/js/popover_menus.js
+++ b/static/js/popover_menus.js
@@ -174,7 +174,7 @@ export function initialize() {
// press Enter to send.
$("#compose-textarea").trigger("focus");
- return channel.patch({
+ channel.patch({
url: "/json/settings",
data: {enter_sends: selected_behaviour},
});