From b464896fda770a89948b8da82686ec561692bc7e Mon Sep 17 00:00:00 2001 From: Waseem Daher Date: Fri, 11 Jan 2013 16:33:15 -0500 Subject: [PATCH] Decrease composebox typeahead suggestion count to 2. Now that the box is shorter, we don't have room for more! (imported from commit 7fd06120df095d46ee087a59f20b745fdd483ca7) --- zephyr/static/js/composebox_typeahead.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zephyr/static/js/composebox_typeahead.js b/zephyr/static/js/composebox_typeahead.js index 654f2bae3e..7566834198 100644 --- a/zephyr/static/js/composebox_typeahead.js +++ b/zephyr/static/js/composebox_typeahead.js @@ -112,7 +112,7 @@ exports.initialize = function () { source: function (query, process) { return stream_list; }, - items: 3, + items: 2, highlighter: composebox_typeahead_highlighter, sorter: typeahead_helper.sort_streams }); @@ -125,14 +125,14 @@ exports.initialize = function () { } return []; }, - items: 3, + items: 2, highlighter: composebox_typeahead_highlighter, sorter: typeahead_helper.sort_subjects }); $( "#private_message_recipient" ).typeahead({ source: typeahead_helper.private_message_typeahead_list, - items: 4, + items: 2, highlighter: composebox_typeahead_highlighter, matcher: function (item) { var current_recipient = get_last_recipient_in_pm(this.query);