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:
Steve Howell 2019-01-03 15:51:37 +00:00 committed by Tim Abbott
parent 5a313ccb90
commit f985125eb0
1 changed files with 1 additions and 1 deletions

View File

@ -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();