Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings_org: Use e.key instead of deprecated e.keyCode.
Priyank Patel53d27120279b
diff --git a/static/js/settings_org.js b/static/js/settings_org.jsindex 81a0670ecb2..faea939c1e5 100644--- a/static/js/settings_org.js+++ b/static/js/settings_org.js@@ -1009,7 +1009,7 @@ export function build_page() {$(".org-subsection-parent").on("keydown", "input", (e) => {e.stopPropagation();- if (e.keyCode === 13) {+ if (e.key === "Enter") {e.preventDefault();$(e.target).closest(".org-subsection-parent")