From 315d6f21b1114b620806d055d02fbfe5e467a47a Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Fri, 20 Oct 2017 07:05:18 +0000 Subject: [PATCH] Collapse messages should probably be called in the helper --- webapp/titanembeds/static/js/embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index c65ae41..bff425e 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -963,7 +963,6 @@ } } - collapse_messages(); } function process_message_users_cache_helper(key, usr) { @@ -981,6 +980,7 @@ parent.find(".authoravatar").prop("src", usr.avatar_url); } } + collapse_messages(); } function collapse_messages() {