mirror of https://github.com/zulip/zulip.git
typeahead: Fix stream typeahead flashing before topic typeahead.
Removed a redundant call to bootstrap typeahead's `lookup` function when the `automated` function returns true, which was causing the streams typeahead to show up briefly before the topic typeahead on pressing `>` immediately after a stream name.
This commit is contained in:
parent
afa218fa2a
commit
83e182a6fa
|
@ -281,7 +281,6 @@ import {get_string_diff} from "../../src/util";
|
|||
}
|
||||
if (this.automated()) {
|
||||
this.select();
|
||||
this.lookup();
|
||||
return this;
|
||||
}
|
||||
return this.render(items.slice(0, this.options.items)).show()
|
||||
|
|
Loading…
Reference in New Issue