Eliminate unnecessary calls to "function".

(imported from commit 30afb6eb4b037991ed0569db63e71dcce53e4554)
This commit is contained in:
Jeff Arnold
2013-08-02 18:44:03 -04:00
parent f4e9a16989
commit 88245c36b4
2 changed files with 3 additions and 9 deletions

View File

@@ -61,9 +61,7 @@ function edit_message (row, raw_content) {
var edit_obj = {form: form, raw_content: raw_content};
current_msg_list.show_edit_message(row, edit_obj);
form.keydown(function (e) {
handle_edit_keydown(e);
});
form.keydown(handle_edit_keydown);
currently_editing_messages[message.id] = edit_obj;
if (message.subject === compose.empty_subject_placeholder()) {