From fbe55f733ca1bf661aee161c7eeb4b12c4db5cff Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Thu, 18 Jul 2013 17:11:12 -0400 Subject: [PATCH] Enable arrowing breaking out of an empty compose on prod. (imported from commit 85a5826c3f454e268c3b31fc9487e58de1528d53) --- zephyr/static/js/hotkey.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zephyr/static/js/hotkey.js b/zephyr/static/js/hotkey.js index e2ff6d7522..d1ad923c2e 100644 --- a/zephyr/static/js/hotkey.js +++ b/zephyr/static/js/hotkey.js @@ -170,8 +170,7 @@ function process_hotkey(e) { if ((event_name === 'up_arrow' || event_name === 'down_arrow') && compose.composing() && compose.message_content() === "" - && $('#new_message_content').is(':focus') - && page_params.staging) { + && $('#new_message_content').is(':focus')) { compose.cancel(); // don't return, as we still want it to be picked up by the code below } else {