From a08ce5023ccc2193539abb95d9623a665c269fe3 Mon Sep 17 00:00:00 2001 From: Kevin Mehall Date: Tue, 11 Jun 2013 13:33:17 -0400 Subject: [PATCH] Revert "Start compose when box gains focus, whether by click or tab. Trac #1245." It makes the stream and subject sometimes not auto-fill when replying. This reverts commit 86603aefbbcd5f766b0c397583483810948046de. (imported from commit 934e991566fa7a082ab8e2ba661ec973bce46b85) --- zephyr/static/js/compose.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zephyr/static/js/compose.js b/zephyr/static/js/compose.js index 0d04e1ab3e..a69833bdd0 100644 --- a/zephyr/static/js/compose.js +++ b/zephyr/static/js/compose.js @@ -567,8 +567,8 @@ exports.validate = function () { $(function () { $("#new_message_content").autosize(); - $("#new_message_content").focus(function (e) { - // If we click or tab into the composebox, start up a new message + $("#new_message_content").click(function (e) { + // If we click in the composebox, start up a new message if (!compose.composing()) { respond_to_sent_message = true; if (narrow.narrowed_to_pms()) {