Embed message box fix and remove fetching spinner

This commit is contained in:
Jeremy Zhang
2017-11-07 07:43:02 +00:00
parent 071552dbf7
commit fa08af8864
3 changed files with 32 additions and 27 deletions

View File

@ -976,7 +976,6 @@
var channel_id = selected_channel;
var fet;
var jumpscroll;
$("#fetching-indicator").fadeIn(800);
if (last_message_id == null) {
$("#chatcontent").empty();
fet = fetch(channel_id);
@ -1020,9 +1019,6 @@
}
setVisitorMode(true);
});
fet.always(function() {
$("#fetching-indicator").fadeOut(800);
});
}
function process_message_users_cache() {