diff --git a/zephyr/static/js/hotkey.js b/zephyr/static/js/hotkey.js index e5b7da65b8..573d5997f6 100644 --- a/zephyr/static/js/hotkey.js +++ b/zephyr/static/js/hotkey.js @@ -129,8 +129,8 @@ process_key_in_input = function (code) { compose.cancel(); } if ((code === 13) && $("#search").is(":focus")) { + // Pass along the return keypress to the search up button. $("#search_up").focus(); - search_button_handler(true); return; } // Otherwise, let the browser handle the key normally