diff --git a/static/js/settings_org.js b/static/js/settings_org.js index 81a0670ecb..faea939c1e 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")