Collapse messages should probably be called in the helper

This commit is contained in:
Jeremy Zhang 2017-10-20 07:05:18 +00:00
parent a571e58bbc
commit 315d6f21b1

View File

@ -963,7 +963,6 @@
} }
} }
collapse_messages();
} }
function process_message_users_cache_helper(key, usr) { function process_message_users_cache_helper(key, usr) {
@ -981,6 +980,7 @@
parent.find(".authoravatar").prop("src", usr.avatar_url); parent.find(".authoravatar").prop("src", usr.avatar_url);
} }
} }
collapse_messages();
} }
function collapse_messages() { function collapse_messages() {