Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ui_util: Stop propagation enter keypress when it is already handled.
Aman Agrawal12126351516d
diff --git a/static/js/ui_util.js b/static/js/ui_util.jsindex cdfbf9a2a64..3f9a789820b 100644--- a/static/js/ui_util.js+++ b/static/js/ui_util.js@@ -35,6 +35,8 @@ export function convert_enter_to_click(e) {const key = e.which;if (key === 13) {// Enter+ e.preventDefault();+ e.stopPropagation();$(e.currentTarget).trigger("click");}}