mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
ui_init: Initialize timerender before information_density.
information_density.initialize uses timerender.stringify_time, and thus requires timerender.initialize to have been called first. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
b50cd3a75f
commit
4d34a902c9
@@ -420,13 +420,12 @@ export function initialize_everything(state_data) {
|
|||||||
density is so fundamental, we initialize that first, however. */
|
density is so fundamental, we initialize that first, however. */
|
||||||
initialize_user_settings(state_data.user_settings);
|
initialize_user_settings(state_data.user_settings);
|
||||||
sidebar_ui.restore_sidebar_toggle_status();
|
sidebar_ui.restore_sidebar_toggle_status();
|
||||||
|
i18n.initialize({language_list: page_params.language_list});
|
||||||
|
timerender.initialize();
|
||||||
information_density.initialize();
|
information_density.initialize();
|
||||||
if (page_params.is_spectator) {
|
if (page_params.is_spectator) {
|
||||||
theme.initialize_theme_for_spectator();
|
theme.initialize_theme_for_spectator();
|
||||||
}
|
}
|
||||||
|
|
||||||
i18n.initialize({language_list: page_params.language_list});
|
|
||||||
timerender.initialize();
|
|
||||||
widgets.initialize();
|
widgets.initialize();
|
||||||
tippyjs.initialize();
|
tippyjs.initialize();
|
||||||
compose_tooltips.initialize();
|
compose_tooltips.initialize();
|
||||||
|
|||||||
Reference in New Issue
Block a user