diff --git a/zephyr/static/js/composebox_typeahead.js b/zephyr/static/js/composebox_typeahead.js index ad47381caa..591a08ede3 100644 --- a/zephyr/static/js/composebox_typeahead.js +++ b/zephyr/static/js/composebox_typeahead.js @@ -99,7 +99,10 @@ function handle_keydown(e) { // If no typeaheads are shown and the user has configured enter to send, // then make enter send instead of inserting a line break. - if (e.target.id === "new_message_content" && code === 13 && enter_sends) { + // (Unless shift is being held down, which we *do* want to insert a linebreak) + if (e.target.id === "new_message_content" + && code === 13 && !e.shiftKey + && enter_sends) { e.preventDefault(); compose.finish(); }