mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
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:
parent
5b473a18c3
commit
b464896fda
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user