From 3e78a792c19ab1dce4a95639d2a22dd011e1a3ca Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Mon, 16 Oct 2023 14:46:36 -0500 Subject: [PATCH] left_sidebar: Move initialize() to end of file. --- web/src/left_sidebar_navigation_area.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/left_sidebar_navigation_area.js b/web/src/left_sidebar_navigation_area.js index 49381b41de..32b80c78df 100644 --- a/web/src/left_sidebar_navigation_area.js +++ b/web/src/left_sidebar_navigation_area.js @@ -112,10 +112,6 @@ function do_new_messages_animation($li) { setTimeout(end_animation, 6000); } -export function initialize() { - update_scheduled_messages_row(); -} - export function highlight_inbox_view() { remove($(".top_left_all_messages")); remove($(".top_left_starred_messages")); @@ -126,3 +122,7 @@ export function highlight_inbox_view() { resize.resize_stream_filters_container(); }, 0); } + +export function initialize() { + update_scheduled_messages_row(); +}