From f985125eb0a23965a57aaa40497dfd716e818128 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Thu, 3 Jan 2019 15:51:37 +0000 Subject: [PATCH] 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. --- static/js/ui_init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/ui_init.js b/static/js/ui_init.js index 824e160ba1..6bebf34fba 100644 --- a/static/js/ui_init.js +++ b/static/js/ui_init.js @@ -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();