mirror of https://github.com/zulip/zulip.git
parent
fed0aa6642
commit
1a8997589d
|
@ -87,7 +87,7 @@ export function set_up_stream(
|
|||
};
|
||||
opts.help_on_empty_strings ||= false;
|
||||
new Typeahead(bootstrap_typeahead_input, {
|
||||
items: 5,
|
||||
items: 12,
|
||||
dropup: true,
|
||||
helpOnEmptyStrings: true,
|
||||
source(_query: string): StreamPillData[] {
|
||||
|
|
|
@ -255,7 +255,7 @@ run_test("set_up_stream", ({mock_template, override, override_rewire}) => {
|
|||
|
||||
override(bootstrap_typeahead, "Typeahead", (input_element, config) => {
|
||||
assert.equal(input_element.$element, $fake_input);
|
||||
assert.equal(config.items, 5);
|
||||
assert.equal(config.items, 12);
|
||||
assert.ok(config.dropup);
|
||||
assert.ok(config.stopAdvance);
|
||||
|
||||
|
|
Loading…
Reference in New Issue