From 5c7419307ce44ab2ed5951a8e6095e0c82e4eba0 Mon Sep 17 00:00:00 2001 From: Jeff Arnold Date: Sun, 11 Nov 2012 13:15:34 -0500 Subject: [PATCH] Fix style mistakes we didn't catch the first time (imported from commit ae1ca10ea8559702e4e73481715239ff456eca4b) --- tools/jslint/check-all.js | 2 +- zephyr/static/js/composebox_typeahead.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/jslint/check-all.js b/tools/jslint/check-all.js index 634fd615eb..65b68ab48a 100644 --- a/tools/jslint/check-all.js +++ b/tools/jslint/check-all.js @@ -40,7 +40,7 @@ var globals = + ' composebox_typeahead' // ui.js - + ' register_onclick hide_email show_email' + + ' register_onclick hide_email show_email focus_on' + ' report_error report_success report_message clicking mouse_moved' + ' userinfo_currently_popped update_gravatars gravatar_stamp' + ' register_user_info_mouseover register_user_info_mouseout' diff --git a/zephyr/static/js/composebox_typeahead.js b/zephyr/static/js/composebox_typeahead.js index 197b5c6985..18907b660a 100644 --- a/zephyr/static/js/composebox_typeahead.js +++ b/zephyr/static/js/composebox_typeahead.js @@ -112,9 +112,9 @@ exports.initialize = function () { highlighter: composebox_typeahead_highlighter }); - $("#stream").keypress(function(e) {handleEnter(e, "subject")}); - $("#subject").keypress(function(e) {handleEnter(e, "new_message_content")}); - $("#huddle_recipient").keypress(function(e) {handleEnter(e, "new_message_content")}); + $("#stream").keypress(function(e) {handleEnter(e, "subject");}); + $("#subject").keypress(function(e) {handleEnter(e, "new_message_content");}); + $("#huddle_recipient").keypress(function(e) {handleEnter(e, "new_message_content");}); $( "#subject" ).typeahead({ source: function (query, process) {