mirror of https://github.com/zulip/zulip.git
js: Initialize people.js earlier.
There is no reason not to initialize people.js super early in the process, as it only reads data from page_params. Also, other modules are likely to want its data during their own initialization steps.
This commit is contained in:
parent
5a313ccb90
commit
f985125eb0
|
@ -276,6 +276,7 @@ exports.initialize_kitchen_sink_stuff = function () {
|
|||
|
||||
exports.initialize_everything = function () {
|
||||
// initialize other stuff
|
||||
people.initialize();
|
||||
scroll_bar.initialize();
|
||||
message_viewport.initialize();
|
||||
exports.initialize_kitchen_sink_stuff();
|
||||
|
@ -296,7 +297,6 @@ exports.initialize_everything = function () {
|
|||
tab_bar.initialize();
|
||||
}
|
||||
server_events.initialize();
|
||||
people.initialize();
|
||||
user_status.initialize();
|
||||
compose_pm_pill.initialize();
|
||||
search_pill_widget.initialize();
|
||||
|
|
Loading…
Reference in New Issue