mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user