Decrease composebox typeahead suggestion count to 2.

Now that the box is shorter, we don't have room for more!

(imported from commit 7fd06120df095d46ee087a59f20b745fdd483ca7)
This commit is contained in:
Waseem Daher 2013-01-11 16:33:15 -05:00
parent 5b473a18c3
commit b464896fda

View File

@ -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);